From: Darin Adler (darin_at_[hidden])
Date: 2001-10-11 12:29:08
on 10/11/01 10:27 AM, helmut.zeisel_at_[hidden] wrote:
> Observe that the wrapper has not been allocated
> once_callback_wrapper w;
> pthread_setspecific(key, &w);
> pthread_once(&flag, do_once);
> it is destroyed automatic and is indeed not needed
> when pthread_once has finished.
Oops. My mistake.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk