mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
Kernel: Add a Thread::all_threads() helper.
This commit is contained in:
parent
e561ab1b0b
commit
fa7f532c35
2 changed files with 11 additions and 0 deletions
|
@ -32,6 +32,8 @@ public:
|
|||
static void initialize();
|
||||
static void finalize_dying_threads();
|
||||
|
||||
static Vector<Thread*> all_threads();
|
||||
|
||||
int tid() const { return m_tid; }
|
||||
int pid() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue