commit | 51ce3ad7607a4b5ac533e6a3fd90709b30dba03f | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Sep 09 02:38:13 2009 -0700 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:52 2013 -0700 |
tree | ffc3a9c2a4160f51677170ed4ad39c0912f0a06f | |
parent | 641b630d2b08fa1cc48ee8e03b69b498f246c08e [diff] |
use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for we could have several thread waiting on the condition and they all need to wake-up. also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this is useful when debugging under gdb for instance.