commit | 3faaedf46b0c99096f0a18820782362886530e8e | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Sun Oct 02 10:51:45 2011 +0000 |
committer | Roger Meier <roger@apache.org> | Sun Oct 02 10:51:45 2011 +0000 |
tree | da42b357f44eeeaf8d41dfd005b8c8c6d2a2f288 | |
parent | 3516e0e306c4ae124dba3ed8f997c8820bcd0864 [diff] [blame] |
THRIFT-1361 Optional replacement of pthread by boost::thread Patch: alexandre parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/PosixThreadFactory.cpp b/lib/cpp/src/concurrency/PosixThreadFactory.cpp index fe5ba123..70204f1 100644 --- a/lib/cpp/src/concurrency/PosixThreadFactory.cpp +++ b/lib/cpp/src/concurrency/PosixThreadFactory.cpp
@@ -195,7 +195,7 @@ ProfilerRegisterThread(); #endif - thread->state_ = starting; + thread->state_ = started; thread->runnable()->run(); if (thread->state_ != stopping && thread->state_ != stopped) { thread->state_ = stopping;