summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar Subv2015-05-10 18:43:59 -0500
committerGravatar Subv2015-05-10 18:43:59 -0500
commit115ad8e16a69c8823118f210654fc9ea70a03213 (patch)
tree945fc0617a3329e14f0b4ec3cf2679a0054cbb7b /src/core/hle/kernel/thread.h
parentCore/Memory: Give every emulated thread it's own TLS area. (diff)
downloadyuzu-115ad8e16a69c8823118f210654fc9ea70a03213.tar.gz
yuzu-115ad8e16a69c8823118f210654fc9ea70a03213.tar.xz
yuzu-115ad8e16a69c8823118f210654fc9ea70a03213.zip
fixup! Set the TLS address in the scheduler
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 17bb69f45..6891c8c2f 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -156,6 +156,8 @@ public:
156 156
157 s32 processor_id; 157 s32 processor_id;
158 158
159 VAddr tls_address; ///< Address of the Thread Local Storage of the thread
160
159 /// Mutexes currently held by this thread, which will be released when it exits. 161 /// Mutexes currently held by this thread, which will be released when it exits.
160 boost::container::flat_set<SharedPtr<Mutex>> held_mutexes; 162 boost::container::flat_set<SharedPtr<Mutex>> held_mutexes;
161 163