Another attempted fix
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
|||||||
*wait = locked;
|
*wait = locked;
|
||||||
if (locked) {
|
if (locked) {
|
||||||
Handle thread = GetCurrentThreadHandle();
|
Handle thread = GetCurrentThreadHandle();
|
||||||
if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
|
if (find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
|
||||||
waiting_threads.push_back(thread);
|
waiting_threads.push_back(thread);
|
||||||
}
|
}
|
||||||
Kernel::WaitCurrentThread(WAITTYPE_EVENT);
|
Kernel::WaitCurrentThread(WAITTYPE_EVENT);
|
||||||
|
Reference in New Issue
Block a user