Listening sockets now closed when forking child processes, preventing lock of ports when children aren't killed.
This commit is contained in:
parent
61b66e349e
commit
fd123c8c1f
3 changed files with 11 additions and 0 deletions
|
@ -32,6 +32,7 @@ namespace Util {
|
|||
static int Count();
|
||||
static bool isActive(pid_t name);
|
||||
static bool isRunning(pid_t pid);
|
||||
static std::set<int> socketList; ///< Holds sockets that should be closed before forking
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue