Boost logo

Boost :

Subject: Re: [boost] [fiber] new version in vault
From: Stefan Strasser (strasser_at_[hidden])
Date: 2009-11-30 01:21:50


Am Saturday 28 November 2009 23:29:00 schrieb Oliver Kowalke:
> I've uploaded a new version of boost.fiber - main features are:
>

while looking at mutex.cpp, I think there is a bug in mutex::timed_lock():

according to
http://www.boost.org/doc/libs/1_41_0/doc/html/thread/synchronization.html#thread.synchronization.mutex_types.timed_mutex

"Attempt to obtain ownership for the current thread. Blocks until ownership
can be obtained, or the specified time is reached. If the specified time has
already passed, behaves as try_lock()."

if the specified time has already passed, fiber::timed_lock does not behave as
try_lock(), but returns false immediatly.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk