$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Russell Hind (rhind_at_[hidden])
Date: 2003-07-18 12:28:50
Jon Biggar wrote:
>
> The assert in the smart_ptr case is a different, since asserting rather
> than dereferencing a null pointer is merely moving the inevitable
> SEGV/core dump up a bit to a place where it's probably a bit easier to
> debug.
>
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?
Thanks
Russell