Peter Dimov wrote: > work... no, not with a bool. Either way, this basically reinvents > pthread_once. Yes. My point was to wrap (in a hurry, indeed) pthread_once in an easy to use idiom (that also doesn't require syntactic changes) for thread-safe static initialization. Andrei