Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use of threads in C++

Can you tell me how can I use threads in C++ programs, and how can I compile it as it will be multithreaded? Can you tell me some good site where I can start from root?

Thanks

like image 916
user41522 Avatar asked Dec 02 '08 04:12

user41522


1 Answers

I haven't used it myself, but I'm told that the Boost thread libraries make it incredibly easy.

http://www.boost.org/doc/libs/1_37_0/doc/html/thread.html

like image 52
Smashery Avatar answered Oct 19 '22 16:10

Smashery