Skip to content
Commit f1edcb32 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

rst: Introduce fine-grained pgid-restore synchronization



We can restore task's pgid which is not equal to its pid,
only when the respective group leader is alive. To make
restore reliable we wait for all group leaders to restore
using separate restore stage.

It's better to optimize this -- each task has a pointer on
its group leader and waits for one to become such.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 65669350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment