mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Add thread_ctrl::get_thread_stack
Returns addr and size of current thread's stack.
This commit is contained in:
parent
d7e1cf7dd2
commit
d789250976
2 changed files with 27 additions and 0 deletions
|
@ -262,6 +262,9 @@ public:
|
|||
// Miscellaneous
|
||||
static u64 get_thread_affinity_mask();
|
||||
|
||||
// Get current thread stack addr and size
|
||||
static std::pair<void*, std::size_t> get_thread_stack();
|
||||
|
||||
private:
|
||||
// Miscellaneous
|
||||
static const u64 process_affinity_mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue