Summary:
- need detached=true
Reviewed By: mcslee
Test Plan: replayable test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665188
13f79535-47bb-0310-9956-
ffa450edef68
* By default threads are joinable.
*/
- PosixThreadFactory(POLICY policy=ROUND_ROBIN, PRIORITY priority=NORMAL, int stackSize=1, bool detached=false);
+ PosixThreadFactory(POLICY policy=ROUND_ROBIN, PRIORITY priority=NORMAL, int stackSize=1, bool detached=true);
// From ThreadFactory;
boost::shared_ptr<Thread> newThread(boost::shared_ptr<Runnable> runnable) const;