Boost logo

Boost :

From: davlet_panech (davlet_panech_at_[hidden])
Date: 2002-01-29 18:14:54


--- In boost_at_y..., "davlet_panech" <davlet_panech_at_y...> wrote:
> Good day,
>
> I was wondering whether the lock/unlock methods of the mutex class
> should be changed to volatile.

After looking through my code again I'm starting to think I don't
really understand how `volatile' works after all :(

I still think something has to be done for the case when mutex::lock
()/unlock() changes the objects' member variables. I'm just not sure
exactly what needs to be done. Would anybody care to comment?

Thanks,
D.P.


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