|
Boost : |
From: Jon Biggar (jon_at_[hidden])
Date: 2003-07-18 19:36:11
Russell Hind wrote:
> Ok, but what happens if locking an already locked mutex where undefined
> behaviour? This isn't this the same as the smart_ptr case? Who knows
> how the actual implementation is on all the platforms, or future platforms?
Um, wasn't the question throw vs assert? In either case we would detect
the attempt to relock the lock and not do that.
-- Jon Biggar Floorboard Software jon_at_[hidden] jon_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk