|
Boost : |
From: Jesse Jones (jejones_at_[hidden])
Date: 2001-03-19 17:57:59
>For CloseHandle this is very true. However, this discussion started
>with the checks made for misuse of the lock types (such as multiple
>lock attempts). It seems to me that this is still a gray area. Some
>seem to think it should be an exception, others an assertion (with
>the ability to leave it "on" during release/production builds).
I'm not sure there is anyone left who wants to assert on multiple lock
attempts. Asserts are only reasonable if you can catch all the problems
during development and QA. But problems due to race conditions seem to veer
into runtime error territory.
-- Jesse
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk