Boost logo

Boost Users :

Subject: Re: [Boost-users] Fwd: boost::unique_lock throw a exception
From: shada (laf163_at_[hidden])
Date: 2014-02-13 09:29:54


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

2014-02-13 17:44 GMT+08:00 Igor R <boost.lists_at_[hidden]>:

> > 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net