ProcessManager.registerSigChldHandler

Register custom SIGCHLD handler

With this function you can register a custom SIGCHLD handler. This handler will be called only for child processes that were not started by the ProcessManager, or for child processes that did not exit.

The handler delegate will be called under a critical section lock and must not sleep.

struct ProcessManager
nothrow @safe @nogc
void
registerSigChldHandler
(
void delegate
(
pid_t pid
,
int status
)
nothrow @system
handler
)

Meta