summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2018-06-21 12:07:03 +0200
committerMichael Scire <SciresM@gmail.com>2018-06-21 12:10:11 +0200
commit4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0 (patch)
tree597b478c20184a6c40692b4d7c695c8b1cac362e /src/core/hle/kernel/thread.h
parentKernel/Arbiters: Implement WaitForAddress (diff)
downloadyuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar.gz
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar.bz2
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar.lz
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar.xz
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.tar.zst
yuzu-4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0.zip
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 79e5d6e5c..0a76bd222 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -230,8 +230,10 @@ public:
VAddr condvar_wait_address;
VAddr mutex_wait_address; ///< If waiting on a Mutex, this is the mutex address
Handle wait_handle; ///< The handle used to wait for the mutex.
- VAddr arb_wait_address; ///< If waiting for an AddressArbiter, this is the address
- ResultCode arb_wait_result; ///< If waiting for an AddressArbiter, this is the result that will be returned.
+
+ // If waiting for an AddressArbiter, this is the address being waited on.
+ VAddr arb_wait_address;
+ ResultCode arb_wait_result{RESULT_SUCCESS}; ///< Result returned when done waiting on AddressArbiter.
std::string name;