Date: 2001-08-08 03:45:08
ross.s_at_[hidden] (Ross Smith) wrote:
> I've given up on the whole CV-vs-event mess; to be perfectly honest,
> I've come to the conclusion that most people have been brainwashed by
> the "Unix is always right and Windows is always wrong" school of
> thought, and aren't prepared to discuss the matter rationally.
Microsoft have introduced monitors (i.e. like condition variables) in
.NET. Maybe they have been brainwashed too? :-)
Seriously, I think you ought to read more of the literature. I started
thread programming in Win32 and it was only when I came across pthreads
that I understood the advantages of condition variables. Later when I
did thread programming in Java, it made perfect sense.
Microsoft's introduction of monitors .NET is presumably because they see
There is another example of code in this months DrDobbs Journal that
introduces errors because of using events.
-- Duncan Harris, Sapio Design Ltd, Manchester, U.K.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk