diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-16 17:57:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 17:57:42 +0100 |
commit | b541a35e277577f0e7f76852510b52141de09fed (patch) | |
tree | 62ed4b813c4184c898a7ca73021362534aa69b1e /src/core/hle/kernel/k_process.h | |
parent | Merge pull request #8605 from devsnek/graceful-shutdown (diff) | |
parent | kernel: svc: Fix duplicated InfoType enum (diff) | |
download | yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar.gz yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar.bz2 yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar.lz yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar.xz yuzu-b541a35e277577f0e7f76852510b52141de09fed.tar.zst yuzu-b541a35e277577f0e7f76852510b52141de09fed.zip |
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 |