diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-10 04:21:20 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:17 +0100 |
commit | 2f894560413db9bf8efc1febc26904937a28380f (patch) | |
tree | 7ba9a6d13f96fc531973dc2015c3c7f2469e8677 /src/core/hle/kernel/k_thread.h | |
parent | hle: kernel: Update KThreadQueue and migrate KSynchronizationObject. (diff) | |
download | yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.gz yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.bz2 yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.lz yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.xz yuzu-2f894560413db9bf8efc1febc26904937a28380f.tar.zst yuzu-2f894560413db9bf8efc1febc26904937a28380f.zip |
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index bea5fd84d..f9a324eb3 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -197,11 +197,6 @@ public: void Suspend(); - void SetSyncedObject(KSynchronizationObject* obj, ResultCode wait_res) { - synced_object = obj; - wait_result = wait_res; - } - constexpr void SetSyncedIndex(s32 index) { synced_index = index; } @@ -212,18 +207,12 @@ public: constexpr void SetWaitResult(ResultCode wait_res) { wait_result = wait_res; - synced_object = nullptr; } constexpr ResultCode GetWaitResult() const { return wait_result; } - [[nodiscard]] ResultCode GetWaitResult(KSynchronizationObject** out) const { - *out = synced_object; - return wait_result; - } - /* * Returns the Thread Local Storage address of the current thread * @returns VAddr of the thread's TLS @@ -716,7 +705,6 @@ private: KAffinityMask physical_affinity_mask{}; u64 thread_id{}; std::atomic<s64> cpu_time{}; - KSynchronizationObject* synced_object{}; VAddr address_key{}; KProcess* parent{}; VAddr kernel_stack_top{}; |