Added forget and remember functions to process library

This commit is contained in:
Thulinma 2016-11-18 00:04:17 +01:00
parent bdb1578ba6
commit 42eca60cfc
2 changed files with 15 additions and 1 deletions

View file

@ -38,6 +38,8 @@ namespace Util {
static int Count();
static bool isActive(pid_t name);
static bool isRunning(pid_t pid);
static void forget(pid_t pid);
static void remember(pid_t pid);
static std::set<int> socketList; ///< Holds sockets that should be closed before forking
};
}