Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7461: detail::win32::ReleaseSemaphore may be called with count_to_release equal to 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-12 22:42:24
#7461: detail::win32::ReleaseSemaphore may be called with count_to_release equal
to 0
-----------------------------------------------------+----------------------
Reporter: Jesper Storm Bache <jsbache@â¦> | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------
Comment (by viboes):
Hi again,
I think I have an hint. Could you check if defining ~entry_manager as
follows avoid the problem?
{{{
~entry_manager()
{
if(! entry->is_notified())
{
entry->remove_waiter();
}
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7461#comment:6> 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:10 UTC