yazi/yazi-term/src/semaphore.rs

4 lines
125 B
Rust

use tokio::sync::Semaphore;
use yazi_shim::cell::RoCell;
pub static YIELD_TO_SUBPROCESS: RoCell<Semaphore> = RoCell::new();