Boost logo

Threads-Devel :

From: Milutin Jovanovic (milutin.jovanovic_at_[hidden])
Date: 2006-08-02 14:17:10


Hi all,

I am curious, why doesn't the boost::thread library expose the fast mutex (I
believe boost calls it lightweight)? It would not have the full
functionality of the mutex, but in many cases that is not required.
Implementation wise, in the worst case it would have the same implementation
as mutex. But on Windows at least it would be faster then named mutexes...

I was curious about atomic operations as well. But they are much more
contentious. So I'll be happy with your thoughts on fast mutex first.

Regards,
Milutin Jovanovic.


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk