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();