Implement thread_ctrl::get_thread_affinity_mask()

This commit is contained in:
Nekotekina 2020-04-28 21:49:13 +03:00
parent 689419b0ca
commit 76294beae1
2 changed files with 64 additions and 1 deletions

View file

@ -248,6 +248,9 @@ public:
// Sets the preferred affinity mask for this thread
static void set_thread_affinity_mask(u64 mask);
// Miscellaneous
static u64 get_thread_affinity_mask();
};
// Derived from the callable object Context, possibly a lambda