acquire_build_reservation_waiting_interruptible_with_progress

Function acquire_build_reservation_waiting_interruptible_with_progress 

Source
pub fn acquire_build_reservation_waiting_interruptible_with_progress(
    cli_label: &str,
    cpu_cap: Option<CpuCap>,
    cancelled: &AtomicBool,
    progress: impl FnMut() + 'static,
) -> Result<BuildReservation>
Expand description

Cancellation-aware harness-build reservation with synchronous wait ticks.

progress runs on the acquiring thread while an ordinary admission ticket is parked or its elected coordinator is blocked in inotify. The protocol only slices those blocking syscalls; reservation ordering, retry deadlines, and liveness deadlines are unchanged. Sizing otherwise matches acquire_build_reservation_waiting.