Mutex: Replace g_mutex_held_locks with a set inside Thread
This commit is contained in:
1 parent
0f69668fc6
commit
4e84df8be3
3 files changed
+18
-23
No files matched your search
@@ -40,6 +40,9 @@ static Thread* current_thread;
|
||||
static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup
|
||||
static u32 next_thread_id; ///< The next available thread id
|
||||
|
||||
Thread::Thread() {
|
||||
}
|
||||
|
||||
Thread* GetCurrentThread() {
|
||||
return current_thread;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user