Skip to main content

CORE_CUR_PID

Static CORE_CUR_PID 

Source
static CORE_CUR_PID: [AtomicUsize; 4]
Expand description

各コアで今動いているスレッドの PID(schedule が切り替えのたびに写す。TODO R4 (a)、2026-11-17)。 起動直後とスケジューラの前は 0(PID 0 = kernel_main・idle_core)。