Fixed tinythread not supporting deleting detached thread objects.
This commit is contained in:
parent
1df896d6d1
commit
910feb0a07
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue