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