Multithreading

0 sulabh tiwari · October 20, 2014
Hi All,
Can someone explain about multi threading in C.

Post a Reply

Replies

Oldest  Newest  Rating
0 Mathias Frits Rørvik · November 11, 2014
If you want to use threading in C, see the manual page for pthread (type man 3 pthread in your terminal).
0 sulabh tiwari · October 21, 2014
Hi ,

Thanks for your reply...btw i am using UNIX OS.
+1 Chris Blum · October 20, 2014
Generic information from a somewhat new programmer.

Multithreading allows your code to do multiple things at once, each is handled on it's own thread.

For instance when I made a chat program, the server side needed to create a new thread for each user connected and "listen" for messages sent to the server so it could send it to the appropriate client.

I used Java for this.
  • 1

C

106,983 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator