Boost logo

Boost :

From: bill_kempf (williamkempf_at_[hidden])
Date: 2002-01-31 11:33:01


--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
>
> ----- Original Message -----
> From: "bill_kempf" <williamkempf_at_h...>
>
> >
> > 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.

I can understand this (and agree with it). But is it really so
difficult to use a traits class such as the one I posted for the
advanced users?

Bill Kempf


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