[cpp-threads] static locals

Peter Dimov pdimov at mmltd.net
Tue May 31 20:09:34 BST 2005


Boehm, Hans wrote:

> If we have two variants, then I think the synchronized case should
> always ensure ordering, whether the initialization is done
> statically or not.

static(synchronized) bool dummy = false; is an interesting spelling for a 
full fence. :-) 





More information about the cpp-threads mailing list