Re: Updating the contents of a treemodel from another thread.



Bartosz Kostrzewa napisał(a):
> Doh.. I had forgotten to unlock the mutex after a cond_.wait(mutex_);
>   
That's exactly why it's better to use a scoped lock (Mutex::Lock in this
case) instead of locking/unlocking mutex objects directly.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]