From c3b63e8723286bc534a910ce0c2720fda9eab354 Mon Sep 17 00:00:00 2001 From: SciresM Date: Fri, 4 Dec 2020 18:11:49 -0800 Subject: [PATCH] svc: add new InfoType_FreeThreadCount (#514) --- nx/include/switch/kernel/svc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index a2deb302..e8d9cf31 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -203,6 +203,7 @@ typedef enum { InfoType_TotalNonSystemMemorySize = 21, ///< [6.0.0+] Total amount of memory available for process, excluding that for process memory management. InfoType_UsedNonSystemMemorySize = 22, ///< [6.0.0+] Amount of memory used by process, excluding that for process memory management. InfoType_IsApplication = 23, ///< [9.0.0+] Whether the specified process is an Application. + InfoType_FreeThreadCount = 24, ///< [11.0.0+] The number of free threads available to the process's resource limit. InfoType_ThreadTickCount = 0xF0000002, ///< Number of ticks spent on thread. } InfoType;