From 7361b79da6f611478428ebac022ad41a22414c85 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 5 Feb 2023 00:44:21 +0100 Subject: Added number_of_threads() --- process.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'process.h') diff --git a/process.h b/process.h index fb24017..b01778c 100644 --- a/process.h +++ b/process.h @@ -10,6 +10,8 @@ namespace Reichwein::Process { EXPORT bool is_running(pid_t pid); +EXPORT int number_of_threads(pid_t pid); + EXPORT bool unix_is_pid_listening_on(pid_t pid, const std::string& path); EXPORT void wait_for_pid_listening_on(pid_t pid, const std::string& path); -- cgit v1.2.3