//! Thread-coordination primitives shared across chip emulators.
//!
//! The queue and barrier primitives are portable. The chip-crate
//! threaded runtimes (`rp2350_emu::threaded::emulator`,
//! `rp2040_emu::threaded::emulator`) layer Windows + Linux
//! thread-affinity pinning on top; macOS / other UNIX hosts still need
//! a portable `pin_to_host_core` before they can light up.
//!
//! Promoted from `rp2350_emu::threaded::{barrier,spsc}` as part of
//! Stage 3a of the dual-execution HLD (see
//! `wrk_docs/2026.04.24 - HLD - Dual Serial and Threaded Execution Models V1.md`
//! §6.4 step 1). Chip-specific bundles (`CoreAtomics`, `WorkerBus`,
//! `SharedState`, `ExclusiveMonitors`) stay in the chip crates.
// Worker-thread helpers (`panic_message`, `spawn_worker`,
// `pin_to_host_core`) — promoted from the chip emulators per the
// 2026-04-30 Threaded Helpers Pull-Up HLD V1. The affinity FFI inside
// `pin_to_host_core` only resolves on Windows or Linux, so the module
// itself is gated on those operating systems; the parent module is
pub use ;
pub use SpscQueue;
pub use ;