summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_process.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-15 20:22:07 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2022-12-15 20:44:21 +0100
commitdca4f0687a82b75382df9bf04a3f76c4afab56e2 (patch)
tree63cd36538d78b715a027dfb2ebb676735d130a4d /src/core/hle/kernel/k_process.h
parentMerge pull request #9433 from Tachi107/cmake-is-awful (diff)
downloadyuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar.gz
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar.bz2
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar.lz
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar.xz
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.tar.zst
yuzu-dca4f0687a82b75382df9bf04a3f76c4afab56e2.zip
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
-rw-r--r--src/core/hle/kernel/k_process.h3
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