GH #79: Poco::Thread leak on Linux

fixed GH #79: Poco::Thread leak on Linux
This commit is contained in:
Alex
2013-03-17 21:13:04 -05:00
parent 3d16ce00a2
commit 3efbbdc1f7
5 changed files with 52 additions and 6 deletions

View File

@@ -155,7 +155,8 @@ private:
prio(PRIO_NORMAL_IMPL),
policy(SCHED_OTHER),
done(false),
stackSize(POCO_THREAD_STACK_SIZE)
stackSize(POCO_THREAD_STACK_SIZE),
joined(false)
{
#if defined(POCO_VXWORKS)
// This workaround is for VxWorks 5.x where
@@ -172,6 +173,7 @@ private:
int policy;
Event done;
std::size_t stackSize;
bool joined;
};
AutoPtr<ThreadData> _pData;