
26 Aug
2007
26 Aug
'07
3:53 p.m.
Beman Dawes:
Or would you prefer only "condition", but with one or more additional signatures that take an additional argument that says, in effect, "throw rather than assert on mutex mismatch?
Against. "Throw on mutex mismatch" implies that the class needs to be able to detect mutex mismatch with 100% certainty, and this makes it impossible to provide less than perfect checking at close to zero overhead, an important design goal of the "default condition".