Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2003-02-18 08:55:26

Scott McCaskill wrote:
> I was just looking at the win32 implementation of the
> condition variable class in the thread library and
> noticed something odd. In version 1.7 of
> condition.cpp, there is a bug fix for
> condition::notify_one. At the beginning of the
> function, a mutex is acquired, but not all control
> paths resulted in the mutex being released. Part of
> the fix involved making sure that the mutex is always
> released.
> However, it looks like the same behavior still exists
> in the current version of condition.cpp for notify_all
> (win32)--not all control paths will release the mutex.
> Am I mistaken, or is this a bug?

It looks the same to me. Any comment about this?


> --Scott McCaskill


Boost list run by bdawes at, gregod at, cpdaniel at, john at