Function get_parent_waker

Source
pub fn get_parent_waker(parent_id: usize) -> &'static Waker
Expand description

Get or create a parent waker for waitpid(-1) operations

This waker is used when a parent process calls waitpid(-1) to wait for any child. It’s separate from the task-specific wakers to avoid conflicts.

§Arguments

  • parent_id - The ID of the parent task

§Returns

A reference to the parent waker