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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to