id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5842,"thread.cpp: Win32 thread::thread() calls GetCurrentThread, which returns a pseudo-handle",noloader@…,viboes,"GetCurrentThread() returns a pseudo-handle. All threads which call it are returned a value of (HANDLE)-2 (if I recall correctly). To get a 'real' handle, use DuplicateHandle() [1]. {{{ thread::thread() : m_joinable(false) { m_thread = reinterpret_cast(GetCurrentThread()); m_id = GetCurrentThreadId(); } }}} [1] http://msdn.microsoft.com/en-us/library/ms683182(v=vs.85).aspx",Bugs,closed,To Be Determined,thread,Boost 1.47.0,Problem,invalid,,