From efcb038a26f2aed0e9687a85b576617ee6679fc5 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sat, 15 Jul 2017 14:07:28 +0200 Subject: [PATCH] Made Util::Procs::childRunning a public function --- lib/procs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/procs.h b/lib/procs.h index 25d78e5a..c0f7bb7f 100644 --- a/lib/procs.h +++ b/lib/procs.h @@ -15,7 +15,6 @@ namespace Util { /// Deals with spawning, monitoring and stopping child processes class Procs { private: - static bool childRunning(pid_t p); static tthread::mutex plistMutex; static std::set plist; ///< Holds active process list. static bool thread_handler;///< True while thread handler should be running. @@ -25,6 +24,7 @@ namespace Util { static char* const* dequeToArgv(std::deque & argDeq); static void grim_reaper(void * n); public: + static bool childRunning(pid_t p); static tthread::thread * reaper_thread; static bool handler_set; ///< If true, the sigchld handler has been setup. static void setHandler();