diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-31 19:22:40 -0200 |
|---|---|---|
| committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-02 15:37:06 -0200 |
| commit | 4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a (patch) | |
| tree | 4e5ea0a4d5525843f41ad19530da872bc5ccda25 /src/core/hle/kernel/thread.cpp | |
| parent | 0f69668fc61f7453b4c6451186b515762532c35a (diff) | |
Mutex: Replace g_mutex_held_locks with a set inside Thread
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 2fae1b3bc..3c6669ca2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -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; } |
