Commit 26b54432 authored by Rudolf Polzer's avatar Rudolf Polzer
Browse files

Refactor WaitPgrp a bit more:

- Always have a separate "dummy process" in each process group to prevent
  the PGID from getting deallocated when the leader dies. This makes
  the logic that kills the rest of a process group when the leader
  dies race-free.

- Do the killing the rest of the process group inside WaitPgrp rather than in
  its callers.
parent d845c21e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment