
2 Sep
2005
2 Sep
'05
10:47 a.m.
Anthony Williams wrote: [...]
once.hpp uses a Semaphore, whereas once_mutex.hpp uses a mutex, the same as the existing boost::thread implementation.
IIRC boost::thread implementation optimizes fast path (get rid of kernel calls) and only briefly holds the named lock. Your stuff looks different in this respect. Is this intentional? regards, alexander.