mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 00:31:04 +00:00
6 lines
175 B
Rust
6 lines
175 B
Rust
use tokio::sync::Semaphore;
|
|
use yazi_shared::RoCell;
|
|
|
|
pub static BLOCKER: RoCell<Semaphore> = RoCell::new();
|
|
|
|
pub(super) fn init_blocker() { BLOCKER.init(Semaphore::new(1)) }
|