Boost logo

Boost :

From: Scott McCaskill (scott_at_[hidden])
Date: 2001-08-13 14:40:47


> >> mutex m;
> >> condition cv;
> >> volatile bool a = false, b = false, c = false;
> ^^^^^^^^
> you do not need volatiles here.
>

Even on a multi-processor system? Does the language guarantee that this
will work? If so, then what is the point of volatile?


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