From: davlet_panech (davlet_panech_at_[hidden])
Date: 2002-01-29 12:37:48
--- In boost_at_y..., Darin Adler <darin_at_b...> wrote:
> On 1/29/02 9:24 AM, "davlet_panech" <davlet_panech_at_y...> wrote:
> > I propose that we make sure that places like scoped_lock
> > take a reference to a volatile mutex, instead of a plain one.
> Can we instead mark the relevant members of the mutex class
> those platforms?
But that way the interface will be different on different platforms:
/* volatile ?? */ boost::mutex m;
scoped_lock lk( m );
I don't think it's a good idea.
> -- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk