2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-24 14:22:08 +00:00

Fix uninitialised event handles in asio::detail::thread in external mode.

[SVN r48414]
This commit is contained in:
Christopher Kohlhoff
2008-08-28 12:03:46 +00:00
parent 302ca4f79d
commit 7387044863

View File

@@ -80,6 +80,11 @@ public:
boost::throw_exception(e);
}
}
else
{
arg->entry_event_ = 0;
arg->exit_event_ = 0;
}
unsigned int thread_id = 0;
thread_ = reinterpret_cast<HANDLE>(::_beginthreadex(0, 0,