summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-06-08 05:39:37 +0200
committerbunnei <bunneidev@gmail.com>2015-06-17 04:34:39 +0200
commit71e8822d23c030311858e6fcc8480b9c52f13f39 (patch)
tree0a5f53cbcebc2c98c7c9c224cbc1a91c1b783366 /src/core/hle/kernel/thread.h
parentMerge pull request #866 from lioncash/typo (diff)
downloadyuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar.gz
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar.bz2
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar.lz
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar.xz
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.tar.zst
yuzu-71e8822d23c030311858e6fcc8480b9c52f13f39.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 2c65419c3..b8160bb2c 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -96,12 +96,6 @@ public:
u32 GetThreadId() const { return thread_id; }
/**
- * Release an acquired wait object
- * @param wait_object WaitObject to release
- */
- void ReleaseWaitObject(WaitObject* wait_object);
-
- /**
* Resumes a thread from waiting
*/
void ResumeFromWait();
@@ -152,6 +146,8 @@ public:
s32 tls_index; ///< Index of the Thread Local Storage of the thread
+ bool waitsynch_waited; ///< Set to true if the last svcWaitSynch call caused the thread to wait
+
/// Mutexes currently held by this thread, which will be released when it exits.
boost::container::flat_set<SharedPtr<Mutex>> held_mutexes;
@@ -163,12 +159,12 @@ public:
std::string name;
+ /// Handle used as userdata to reference this object when inserting into the CoreTiming queue.
+ Handle callback_handle;
+
private:
Thread();
~Thread() override;
-
- /// Handle used as userdata to reference this object when inserting into the CoreTiming queue.
- Handle callback_handle;
};
/**