
1 Jun
2010
1 Jun
'10
6:48 a.m.
Braden McDaniel
Using Boost 1.43, this program:
# include
int main() { boost::shared_mutex mutex; boost::upgrade_lockboost::shared_mutex lock(mutex); boost::upgrade_to_unique_lockboost::shared_mutex write_lock(lock); }
... produces this error when compiled with Visual C++ 2010:
That is trac issue 2501. It was fixed post 1.43, so should be in 1.44. Anthony -- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976