$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.