Jump to content

  • Log In with Google      Sign In   
  • Create Account


c++ 0x threading problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Jeffreyp   Members   -  Reputation: 178

Like
0Likes
Like

Posted 05 March 2012 - 10:47 AM

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

Sponsor:

#2 Washu   Senior Moderators   -  Reputation: 4850

Like
1Likes
Like

Posted 05 March 2012 - 10:54 AM

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.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX


#3 achild   Crossbones+   -  Reputation: 1659

Like
1Likes
Like

Posted 05 March 2012 - 10:57 AM

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.

#4 Jeffreyp   Members   -  Reputation: 178

Like
0Likes
Like

Posted 05 March 2012 - 11:19 AM

Oke thanks : )




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS