i'm planning to write a simple application that utilizes multithreading. any suggestions on what application i can use? thanks.
You said that you want to write the threaded application. What do you mean by use? Are you asking what library to use? If so, look at pthread.
i already know what library to use...my question is in what application(e.g. sorting, matrix addition and the likes) can i use multithreading...? what application can you suggest that would show the importance of multithreading. thanks.
Hmm. Sounds like homework - see the forum rules.
Short answer - any task that has completely separate sub-tasks may benefit performance-wise by dividing the sub-tasks into separate threads of control - especially when the computer running the code has more than one cpu. ex: chat program - one thread talks to the internet socket, the other one interacts with the user window.
I think is some sort of project.
Maybe I can give you the idea ( not more than that ).As you already know you have to use POSIX threads , pthreads .
What aplication , is better for you to wsho the importance of multithreading ?
I build myself an useful chat program.Where is multithreading ?
My chat program is composed in 3 part's . One main part ( in main() function ) for Internet socket connection ( .. ) , and to threads ( POSIX threads ) , one receives the data's ( strings from server ) and writes them to main window and the another POSIX thread ( pthread ) , using a loop for ( for(;
) , send data ( strings ) to server [ to be send to others clients by they client socket descriptor .. retain somewhere in a structure , or I don't know .. what do you want ..].
Clear enough ? The importance of multreading aplication ? You can use POSIX threads in a chat server / client aplication , for better exchange of information ( one thread to send , other to receive/write , and maybe other to show live time ./ clock . or something else ).
Cheer's ! 
can u plz mail me ur chat code using multithreading..plz..