Fixed tinythread not supporting deleting detached thread objects.

This commit is contained in:
Thulinma 2014-06-11 11:05:37 +02:00
parent 1df896d6d1
commit 910feb0a07
2 changed files with 11 additions and 2 deletions

View file

@ -554,6 +554,7 @@ class thread {
native_handle_type mHandle; ///< Thread handle.
mutable mutex mDataMutex; ///< Serializer for access to the thread private data.
bool mNotAThread; ///< True if this object is not a thread of execution.
void * ti_copy;
#if defined(_TTHREAD_WIN32_)
unsigned int mWin32ThreadID; ///< Unique thread ID (filled out by _beginthreadex).
#endif