Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
10b3bdb
)
Removed comment about needing a lock in thread main. Access through boost::shared_pt...
author
Marc Slemko
<marc@apache.org>
Sun, 1 Apr 2007 20:17:02 +0000
(20:17 +0000)
committer
Marc 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
patch
|
blob
|
history
diff --git
a/lib/cpp/src/concurrency/PosixThreadFactory.cpp
b/lib/cpp/src/concurrency/PosixThreadFactory.cpp
index
972c1c1
..
675e95d
100644
(file)
--- a/
lib/cpp/src/concurrency/PosixThreadFactory.cpp
+++ b/
lib/cpp/src/concurrency/PosixThreadFactory.cpp
@@
-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);