2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-13 12:52:11 +00:00

Thread: Added call to terminate if joinable for #6266 and #6269

[SVN r77718]
This commit is contained in:
Vicente J. Botet Escriba
2012-04-02 16:32:33 +00:00
parent 733b49ae42
commit 56bd079f96
9 changed files with 44 additions and 28 deletions

View File

@@ -271,11 +271,6 @@ namespace boost
}
thread::~thread()
{
detach();
}
thread::id thread::get_id() const BOOST_NOEXCEPT
{
return thread::id((get_thread_info)());