mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
Implement thread_ctrl::is_main()
This commit is contained in:
parent
55c75d2c87
commit
3609eb25c9
3 changed files with 10 additions and 0 deletions
|
@ -342,6 +342,9 @@ public:
|
|||
// Get thread ID (works for all threads)
|
||||
static u64 get_tid();
|
||||
|
||||
// Check whether current thread is main thread (usually Qt GUI)
|
||||
static bool is_main();
|
||||
|
||||
private:
|
||||
// Miscellaneous
|
||||
static const u64 process_affinity_mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue