Skip to main content

set_process_core_width

Function set_process_core_width 

Source
pub fn set_process_core_width(width: usize)
Expand description

Publish the process’s core budget. Called once at startup by the launcher (waratah_bin) after serve-core resolution: the serve core set size when the process is confined, the machine width otherwise (read from the unpinned main thread). Idempotent: the first call wins.