• Advertisement
Sign in to follow this  

c++ 0x threading problem

This topic is 2145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys,

I am reading a book called c++ concurrency in action and i wanted to try
something on my own. So i fire up visual studio 2010(ultimate edition) and try to include
thread.h and mutex. To my surprise visual studio couldn't find the headers.

Is it my fault? Or does visual studio not support it?

Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
It would be <thread> and <mutex>, and no, VS2010 does not have C++11 threading libraries in it yet. You can use boost thread though.

Share this post


Link to post
Share on other sites
Also, though it's not super useful to you just yet, VS2011 looks like it will have the majority of the new standard threading libraries.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement