Module worker_ready_wait

Module worker_ready_wait 

Source
Expand description

Test-side poll helper for the worker ready marker. Separated from crate::worker_ready because this helper references crate::scenario::payload_run::PayloadHandle; the bin crate ktstr-jemalloc-alloc-worker pulls worker_ready.rs in via #[path] and must stay dependency-free (see that module’s doc for why). This module is library-only.

Functions§

wait_for_worker_ready
Poll for the worker’s ready marker with a deadline, returning early if the worker exits before writing the marker or after writing but before the caller’s subsequent dispatch.