Skip to content

Commit

Permalink
Merge pull request #122 from vibe-d/fix_zombie_processes
Browse files Browse the repository at this point in the history
 Use waitpid to iterate over all exited child processes
  • Loading branch information
s-ludwig authored Aug 23, 2019
2 parents e23090b + 20373d1 commit bca94d5
Show file tree
Hide file tree
Showing 3 changed files with 487 additions and 403 deletions.
2 changes: 1 addition & 1 deletion source/eventcore/drivers/posix/driver.d
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final class PosixEventDriver(Loop : PosixEventLoop) : EventDriver {
version (linux) alias WatcherDriver = InotifyEventDriverWatchers!EventsDriver;
//else version (OSX) alias WatcherDriver = FSEventsEventDriverWatchers!EventsDriver;
else alias WatcherDriver = PollEventDriverWatchers!EventsDriver;
version (linux) alias ProcessDriver = SignalEventDriverProcesses!Loop;
version (Posix) alias ProcessDriver = PosixEventDriverProcesses!Loop;
else alias ProcessDriver = DummyEventDriverProcesses!Loop;

Loop m_loop;
Expand Down
Loading

0 comments on commit bca94d5

Please sign in to comment.