Module os::task::pid

source · []
Expand description

Task pid implementation.

Assign PID to the process here. At the same time, the position of the application KernelStack is determined according to the PID.

Structs

KernelStack corresponding to PID

Pid allocator instance through lazy_static!

Process identifier allocator using stack allocation

Abstract structure of PID

Functions

Return (bottom, top) of a kernel stack in kernel space.