use tokio::sync::Semaphore; use yazi_shared::RoCell; pub static HIDER: RoCell = RoCell::new(); pub static WATCHER: RoCell = RoCell::new(); pub(super) fn init_semaphore() { HIDER.init(Semaphore::new(1)); WATCHER.init(Semaphore::new(1)); }