Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-09-19 12:16:16


"Peter Dimov" <pdimov_at_[hidden]> writes:

> Peter Dimov wrote:
>
>> This is what CRITICAL_SECTIONs do, and I recall being told by
>> Alexander Terekhov that it is suboptimal (threads take the slow path
>> when they could take the fast path). My tests with a contended queue
>> seemed to prove him right.
>>
>> Unfortunately, I can no longer find his post where he explained that
>> with Google.
>
> Here it is:
>
> http://aspn.activestate.com/ASPN/Mail/Message/boost/2122746

Thanks. I'll have to look at Alexander's proposed swap-based implementation.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

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