Removed comment about needing a lock in thread main. Access through boost::shared_pt...
authorMarc Slemko <marc@apache.org>
Sun, 1 Apr 2007 20:17:02 +0000 (20:17 +0000)
committerMarc Slemko <marc@apache.org>
Sun, 1 Apr 2007 20:17:02 +0000 (20:17 +0000)
Reviewed By: none

Test Plan: N.A.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665076 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/concurrency/PosixThreadFactory.cpp

index 972c1c1..675e95d 100644 (file)
@@ -114,7 +114,6 @@ class PthreadThread: public Thread {
 };
 
 void* PthreadThread::threadMain(void* arg) {
-  // XXX need a lock here when testing thread state
   shared_ptr<PthreadThread> thread = *(shared_ptr<PthreadThread>*)arg;
   delete reinterpret_cast<shared_ptr<PthreadThread>*>(arg);