diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-16 11:57:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-16 11:57:42 -0500 |
| commit | b541a35e277577f0e7f76852510b52141de09fed (patch) | |
| tree | 62ed4b813c4184c898a7ca73021362534aa69b1e /src/core/hle/kernel/k_process.h | |
| parent | 6bc1a477bfba9f1ac60b864ddbccbfd61faa5f4c (diff) | |
| parent | 20cbf6f3db4f2873f0122aa45f65a0a410978199 (diff) | |
Merge pull request #9444 from german77/free_threads
kernel: process: Implement GetFreeThreadCount
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
| -rw-r--r-- | src/core/hle/kernel/k_process.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index 2e0cc3d0b..09bf2f1d0 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h @@ -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 |
