Skip to main content

set_select_seed

Function set_select_seed 

Source
pub fn set_select_seed(seed: u64)
Expand description

Seed the thread-local select! offset RNG from an iteration seed and install it as the branch-offset source for moonpool_core::select! on this thread.

The seed is mixed with [SELECT_RNG_SALT] so branch start offsets are decorrelated from [SIM_RNG] yet remain reproducible per iteration seed. Like set_config_seed, this stream is uncounted: select polling order never perturbs the call counter or fork-explorer breakpoint replay.