Commit ca26a64f authored by Tobias Stoeckmann's avatar Tobias Stoeckmann
Browse files

Centralized pid handling into WaitPgrp.



To be able to create a critical section in WaitPgrp to protect
against signal races the pid handling has been moved into
WaitPgrp.

If a child process dies, its pid is set to 0 directly in WaitPgrp
which means that a pointer has to be supplied when calling the function.

Signed-off-by: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
parent 968b57c9
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