Skip to main content

graceful_kill_process_group_default_async

Function graceful_kill_process_group_default_async 

Source
pub async fn graceful_kill_process_group_default_async(
    pid: u32,
) -> GracefulTerminationResult
Expand description

Async-safe wrapper for graceful process-group termination.

This offloads the synchronous graceful-kill loop to Tokio’s blocking pool so async runtime threads are not occupied by polling sleeps.