Threads

Jun 6, 2011 at 10:58am
What is the best way to do thread in c++?
Jun 6, 2011 at 11:47am
Boost.Thread and TBB are the two libraries you should take a look at.
Jun 6, 2011 at 3:54pm
I don't know if Boost is the best way, or that you could even claim there is a best way. What I do is use what ever method is provided by the libraries I currently have loaded, so if I was already working with Boost then of course I would use that, but if I was working primarily with SFML or Win32 then I wouldn't load the Boost library when the other two provide perfectly functional methods of multithreading.

What is it you're trying to do? It's not really important as your question has already been answered twice, but I'm always being nosey.
Jun 6, 2011 at 7:45pm
Use CreateThread() API function exported from kernel32.dll, Boost and other libraries are just wrappers around this anyway.
Topic archived. No new replies allowed.