Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-10-26 12:59:05


Johan Torp wrote:
> I'm trying to implement a class having a lock and an unlock-method.
>
> If several different threads call scoped_lock::lock, what is the
> effect?

Undefined. A scoped_lock is not supposed to be shared across threads.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net