apool 0.1.3

Async generic pool crate for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(feature = "tokio")]
pub type Mutex<T> = tokio::sync::Mutex<T>;

#[cfg(feature = "tokio")]
pub type OwnedMutexGuard<T> = tokio::sync::OwnedMutexGuard<T>;

#[cfg(feature = "tokio")]
pub type Semaphore = tokio::sync::Semaphore;

#[cfg(feature = "tokio")]
pub type OwnedSemaphorePermit = tokio::sync::OwnedSemaphorePermit;