[KongchangAI]
ConceptProcess Group

Process Group

A mechanism in Unix/Linux operating systems for organizing and managing related processes. All processes within the same process group can receive a unified signal, making process groups commonly used for batch termination of related child processes.

Timeline (last 90 days)

Sep 30

By placing child processes in an independent process group via setsid() or setpgrp(), combined with kill(-pgid, SIGKILL), batch cleanup can be achieved.

Unverified50%
Sep 30

The cgroup approach provides the most thorough cleanup on Linux, but macOS support is limited; the process group approach has better cross-platform compatibility but is powerless against escaped processes that have already detached from the process group.

Unverified50%

All Facts (2)

Source Articles