
19 Sep
2006
19 Sep
'06
3:56 p.m.
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