Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-08-20 18:25:55


Howard Hinnant wrote:

> Here is a link to a reference implementation and a FAQ for mutexes,
> locks and condition variables I am currently anticipating proposing
> for C++ standardization (or subsequent TR).
>
> http://home.twcny.rr.com/hinnant/cpp_extensions/concurrency_rationale.html

I'm not particularly fond of the unchecked<> adaptor and the requirement
that wait is called with the same mutex when the condition is
default-constructed (stricter than POSIX). Why not make the latter the
unchecked case? Before you answer "overhead", consider that wait blocks and
is already a throwing function.


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