Re: Updating the contents of a treemodel from another thread.
- From: Tomasz Olszewski <caster 3miasto net>
- To: Bartosz Kostrzewa <zoombat runbox com>
- Cc: gtkmm-list gnome org
- Subject: Re: Updating the contents of a treemodel from another thread.
- Date: Sat, 30 Jun 2007 08:17:14 +0200
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]