diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-02-05 00:44:21 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-02-05 00:44:21 +0100 |
commit | 7361b79da6f611478428ebac022ad41a22414c85 (patch) | |
tree | c12216eeac4e63918a4da3c12d8d9e5f956bca9e /process.h | |
parent | ce999fa6e8ec42342db5854188e7c4be7b2e576c (diff) |
Added number_of_threads()
Diffstat (limited to 'process.h')
-rw-r--r-- | process.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |