I have review my code, not lock or unlock twice.


2014-02-13 17:44 GMT+08:00 Igor R <boost.lists@gmail.com>:
> I use boost1.52 on windows2003sp2, boost::unique_lock throw a exception, please help me.
>
> stack is:
> RaiseException
> _CxxThrowException
> boost::throw_exception<boost::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_lock<boost::shared_mutex>::lock[e:\library\boost_1_52\boost\thread\locks.hpp£º510]


Do you lock or unlock the mutex twice?
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users