Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-09-06 19:36:54


At 04:37 PM 9/6/2001, William Kempf wrote:

>>BTW why doesn't boost::mutex use a critical section on win32?
>
>To avoid having to either include the windows headers in mutex.hpp or
>require dynamic allocation internally. During development I was provided

>with research that showed that critical sections often actually result in

>worse performance than mutexes (surprised me), so it was easier just to
>implement using a Win32 mutex.

Is that worth a FAQ entry?

--Beman


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