Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set PThread::m_isRunning early, when the thread is created.
This allows PThread::IsTerminated to return false as soon as the thread is created, which may be earlier than PThread::PX_ThreadStart manages to set it. This should fix issues when the code synchronously tests if the thread is terminated soon after spawning it.
- Loading branch information