aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-05-10 23:19:54 -0500
committerGravatar Subv <subv2112@gmail.com>2015-05-11 20:09:23 -0500
commitdda94e56dde35f5df969b71b2be9195b7d8cdc05 (patch)
treebbded5ba6fc9d9a52268614f87c8ac11ed5789f6 /src/core/hle/kernel/process.h
parent820b97787c9bdfaed018558f33b8d3542e6d6b1f (diff)
Core/Memory: Add TLS support for creating up to 300 threads
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 22cd1049..90881054 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -74,6 +74,9 @@ public:
/// The id of this process
u32 process_id = next_process_id++;
+ /// Bitmask of the used TLS slots
+ std::bitset<300> used_tls_slots;
+
/**
* Parses a list of kernel capability descriptors (as found in the ExHeader) and applies them
* to this process.