Implement thread_ctrl::get_tid()

This commit is contained in:
Nekotekina 2021-03-06 20:10:48 +03:00
parent ded828dfc9
commit 55c75d2c87
2 changed files with 12 additions and 0 deletions

View file

@ -339,6 +339,9 @@ public:
}
};
// Get thread ID (works for all threads)
static u64 get_tid();
private:
// Miscellaneous
static const u64 process_affinity_mask;