kernel: process: Implement GetFreeThreadCount
Used by Just Dance® 2023 Edition
This commit is contained in:
parent
b8c03411e7
commit
dca4f0687a
3 changed files with 28 additions and 1 deletions
|
@ -304,6 +304,9 @@ public:
|
|||
/// from this process' thread list.
|
||||
void UnregisterThread(KThread* thread);
|
||||
|
||||
/// Retrieves the number of available threads for this process.
|
||||
u64 GetFreeThreadCount() const;
|
||||
|
||||
/// Clears the signaled state of the process if and only if it's signaled.
|
||||
///
|
||||
/// @pre The process must not be already terminated. If this is called on a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue