summaryrefslogtreecommitdiffstats
path: root/src/Common/Backends
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-10-10 15:04:28 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-10-10 15:04:28 +0200
commitfcab8098d6a9a385e0e5edfb26f4abf615da77ca (patch)
tree7ae3ff0d47bab59a409ccebb036e339894493b80 /src/Common/Backends
parent535a6e799ee98e745c85c655c5db3279fd25c1bc (diff)
downloadmad-fcab8098d6a9a385e0e5edfb26f4abf615da77ca.tar
mad-fcab8098d6a9a385e0e5edfb26f4abf615da77ca.zip
FdManager hinzugef?gt und Verbindungsklassen angepasst
Diffstat (limited to 'src/Common/Backends')
-rw-r--r--src/Common/Backends/SystemBackendPosix.cpp2
1 files changed, 2 insertions, 0 deletions
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<pid_t, sigc::slot<void, int> >::iterator it = processes.find(pid);