Subj : Re: double-checked locking in C To : comp.programming.threads From : Joe Seigh Date : Thu Jul 07 2005 01:09 pm Alexander Terekhov wrote: > Laurent Deniau wrote: > [...] > >>>>pthread_once (fast) >>> >>>It (currently) doesn't work in the dynamic context. >> >>What do you mean by "dynamic context"? > > > I mean lack of pthread_once_init(), pthread_once_reset(), and > pthread_once_destroy(). > > regards, > alexander. memcpy() of a static pthread_once_t initialized with PTHREAD_ONCE_INIT for pthread_once_init(). I don't even know what pthread_once_reset() even means. -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .