Kumar
Kumar

Reputation: 626

how to use mutex in visual studio 2010

I changed my project from visual studio 2012 to 2010. But mutex is not working in visual studio 2010. In MSDN page it was mentioned that VC++10 doesn't support mutex. Is it possible to install any VC++11 as a separate package in visual studio 2010? or Could i use any third party mutex libraries? Please guide me.

Upvotes: 2

Views: 6492

Answers (1)

dalle
dalle

Reputation: 18507

std::mutex is based on boost::mutex from the Boost.Thread library. You could download and build Boost.

Upvotes: 2

Related Questions