//! Process readiness flags (control plane, optional substrate checks).
use std::sync::atomic::{AtomicBool, Ordering};
static BUS_READY: AtomicBool = AtomicBool::new(false);
/// Mark the control-plane bus as bound and accepting requests.
pub fn set_bus_ready(ready: bool) {
BUS_READY.store(ready, Ordering::Release);
}
/// Whether the ZMTP control plane finished binding (feature **`filter-control`**).
#[must_use]
pub fn bus_ready() -> bool {
BUS_READY.load(Ordering::Acquire)
}