$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-31 10:59:13
----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>
>
> Making lock() operations easily accessible is likely to lead to
> newbie mistakes. Not exposing them at all makes it
> difficult/impossible to extend the library, such as with a lock_ptr<>
> concept.
I would support a solution which exposes "safe newbie" interfaces
separately. Multithreading is a non-trivial domain, and I think it would be
a mistake to make MT code harder for the competent to read/write just in
order to protect the less-competent.
-Dave