Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11119: mutex::unlock must not throw
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-04 21:32:15
#11119: mutex::unlock must not throw
---------------------------+---------------------
Reporter: viboes | Owner: viboes
Type: Bugs | Status: closed
Milestone: Boost 1.58.0 | Component: thread
Version: Boost 1.57.0 | Severity: Problem
Resolution: fixed | Keywords:
---------------------------+---------------------
Changes (by viboes):
* status: assigned => closed
* resolution: => fixed
* milestone: To Be Determined => Boost 1.58.0
Comment:
{{{
void unlock()
{
int res = posix::pthread_mutex_unlock(&m);
(void)res;
BOOST_ASSERT(res == 0);
// if (res)
// {
// boost::throw_exception(lock_error(res,"boost: mutex
unlock failed in pthread_mutex_unlock"));
// }
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11119#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC