Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-04-28 05:37:09


Bronek Kozicki wrote:
[...]
> PS2. there's old sample of recursive critical section ie. "metered
> section" in MSDN, see
> http://msdn.microsoft.com/library/en-us/dndllpro/html/msdn_metrsect.asp

That's nothing but an "old sample" of a buggy impl of MS-"semaphore"
[a counting thing with completely useless "max" checking]. The REAL
purpose of this MSDN "sample" is to illustrate the error-prone nature
of MS-events and totally broken spin-waiting. http://tinyurl.com/6hlt

regards,
alexander.


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