commit | dc33ad5db2dc6ed9b76d5219888626a604debbe1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Sep 16 19:46:51 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Sat Sep 17 10:27:12 2011 -0700 |
tree | 8b9e612cd44b77ae26c44bc23615f34ecded1004 | |
parent | 7011e675bf585909aa9f6599102afcd66e0a6738 [diff] [blame] |
Initialize all of class Thread's fields. Change-Id: I28f1539bbcfebe06e62de692d306b479ed3eaead
diff --git a/src/monitor.cc b/src/monitor.cc index cc74838..0ef5fb4 100644 --- a/src/monitor.cc +++ b/src/monitor.cc
@@ -126,7 +126,7 @@ void Monitor::AppendToWaitSet(Thread* thread) { DCHECK(owner_ == Thread::Current()); DCHECK(thread != NULL); - DCHECK(thread->wait_next_ == NULL); + DCHECK(thread->wait_next_ == NULL) << thread->wait_next_; if (wait_set_ == NULL) { wait_set_ = thread; return;