#include "support/lstrings.h"
Systemcalls::Systemcalls() {
- pid = (pid_t) 0; // No child yet
+ pid = 0; // No child yet
}
Systemcalls::Systemcalls(Starttype how, string const & what, Callbackfct cback)
// Here, we should add the PID to a list of
// waiting processes to kill if they are not
// dead without tolerance seconds
+#ifdef WITH_WARNINGS
#warning Implement this using the timer of the singleton systemcontroller (Asger)
+#endif
}
}
{
SystemcallsSingletoncontroller::Startcontroller starter;
- SystemcallsSingletoncontroller *contr=starter.GetController();
+ SystemcallsSingletoncontroller *contr= starter.GetController();
Systemcalls one(Systemcalls::System, "ls -ltag", back);
Systemcalls two(Systemcalls::Wait, "ls -ltag", back);