summaryrefslogtreecommitdiffstats
path: root/base/threading/simple_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/simple_thread.cc')
-rw-r--r--base/threading/simple_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/simple_thread.cc b/base/threading/simple_thread.cc
index 4441477..a5dd763 100644
--- a/base/threading/simple_thread.cc
+++ b/base/threading/simple_thread.cc
@@ -29,7 +29,7 @@ SimpleThread::~SimpleThread() {
void SimpleThread::Start() {
DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times.";
bool success = PlatformThread::Create(options_.stack_size(), this, &thread_);
- CHECK(success);
+ DCHECK(success);
event_.Wait(); // Wait for the thread to complete initialization.
}