j
k
j a
j l
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?
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.
Back to the thread
Back to the list