Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2005-09-02 05:47:10


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk