acquire_build_reservation_waiting_interruptible

Function acquire_build_reservation_waiting_interruptible 

Source
pub fn acquire_build_reservation_waiting_interruptible(
    cli_label: &str,
    cpu_cap: Option<CpuCap>,
    cancelled: &AtomicBool,
) -> Result<BuildReservation>
Expand description

Cancellation-aware harness-build reservation.

A signal-published cancelled flag interrupts either the ticket’s futex wait or the coordinator’s inotify wait, releasing the current elastic registry claim, partial LLC holds, and any completed plan before returning std::io::ErrorKind::Interrupted. Sizing otherwise matches acquire_build_reservation_waiting.