commit | f28bc5b6df6edb4b22aeca360ff102a95f3155e1 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Wed Oct 26 01:15:03 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Wed Oct 26 13:50:03 2011 -0700 |
tree | 45249fe10034ae05b945abb400822c91133436ca | |
parent | 03ddf6b9355b29b90c955359e104bd247640fd8b [diff] [blame] |
Callers of SuspendAll should be in the kRunnable state Change-Id: I37996164a5fd56251134683f717e6e00541cab22
diff --git a/src/signal_catcher.cc b/src/signal_catcher.cc index 41d0fe4..4e8628d 100644 --- a/src/signal_catcher.cc +++ b/src/signal_catcher.cc
@@ -159,6 +159,7 @@ Runtime* runtime = Runtime::Current(); runtime->AttachCurrentThread("Signal Catcher", true); + Thread::Current()->SetState(Thread::kRunnable); { MutexLock mu(signal_catcher->lock_);