13 Feb
2014
13 Feb
'14
9:44 a.m.
I use boost1.52 on windows2003sp2, boost::unique_lock throw a exception, please help me.
stack is: RaiseException _CxxThrowException boost::throw_exceptionboost::lock_error[e:\library\boost_1_52\boost\throw_exception.hpp:67] boost::shared_mutex::timed_lock[e:\library\boost_1_52\boost\thread\win32\shared_mutex.hpp:430] boost::shared_mutex::lock[e:\library\boost_1_52\boost\thread\win32\shared_mutex.hpp:382] boost::unique_lockboost::shared_mutex::lock[e:\library\boost_1_52\boost\thread\locks.hpp:510]
Do you lock or unlock the mutex twice?