From fcab8098d6a9a385e0e5edfb26f4abf615da77ca Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 10 Oct 2008 15:04:28 +0200 Subject: FdManager hinzugef?gt und Verbindungsklassen angepasst --- src/Common/Backends/SystemBackendPosix.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common/Backends') diff --git a/src/Common/Backends/SystemBackendPosix.cpp b/src/Common/Backends/SystemBackendPosix.cpp index acb6bb6..267e82e 100644 --- a/src/Common/Backends/SystemBackendPosix.cpp +++ b/src/Common/Backends/SystemBackendPosix.cpp @@ -107,6 +107,8 @@ void SystemBackendPosix::childHandler(int) { int status; pid_t pid; + // TODO Don't call callbacks directly + while((pid = waitpid(-1, &status, WNOHANG)) > 0) { std::map >::iterator it = processes.find(pid); -- cgit v1.2.3