thread-safe local static variable initialization

Jim Dehnert dehnert at baalbek.engr.sgi.com
Mon Jun 7 22:52:36 UTC 1999


> As far as I can tell, the language says that the automatic blocking
> issue isn't a valid approach.  It says what has to happen, and
> it isn't that.

Are you referring to the statement in 6.7 that "If control re-enters
the declaration (recursively) while the object is being initialized,
the behavior is undefined?"  Or is there more somewhere?  This would
seem to imply that automatic blocking isn't required, but not that it's
not valid.

(This is curiosity, not a position.)

-	    Jim Dehnert		dehnert at sgi.com
				(650)933-4272




More information about the cxx-abi-dev mailing list