$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Russell Hind (rhind_at_[hidden])
Date: 2003-07-21 11:25:22
Glen Knowles wrote:
>
> That is a decision that tends to end with the library author. One thing
> that may make the specific case of relocking different is that the cause
> is likely a race condition - something that won't show up in normal
> testing.
>
but scoped_lock is intended to be used in local scope, IIUC. You don't
share the lock, you share the mutex. So for this error, it isn't a race
condition.
Russell