Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2003-06-07 14:18:24


William E. Kempf wrote:

> As soon as synchronization relies on *BOTH* a mutex and a sema/event,
> you've got a race condition.

hmm, I'm not sure I have the same definition for 'race condition' as
you have. Of course I could write non-safe code that presents a race
condition. Is your point that you want to make it impossible to write
non-thread-safe code ?

Or are you claiming that the code I have shown contains a race condition
(which I still don't see) ?

Regards,
                Stefan


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