Can someone explain about multi threading in C.
Post a Reply
|Oldest Newest Rating|
· 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.
· October 21, 2014
Thanks for your reply...btw i am using UNIX OS.
H. P. Lovecraft
· November 11, 2014
If you want to use threading in C, see the manual page for pthread (type man 3 pthread in your terminal).
One of the most popular languages of all time.
|Bucky Roberts Administrator|