[][src]Crate fast_async_mutex

fast_async_mutex it is a lib which provide asynchronous locking mechanisms, which used spinlock algorithm. It's maybe very efficient because when mutex tries to acquire data unsuccessfully, these returning control to an async runtime back. This lib built only on atomics and don't use others std synchronous data structures, which make this lib so fast.

Modules

mutex

The fast async mutex which uses spinlock algorithm with using waker

mutex_ordered

The fast async mutex which uses spinlock algorithm with using waker This realisation will check an order of mutex acquiring.

rwlock

RwLock realisation which uses spinlock algorithm with using waker

rwlock_ordered

RwLock realisation which uses spinlock algorithm with using waker This realisation will check an order of mutex acquiring.

Macros

impl_deref
impl_deref_mut
impl_drop_guard
impl_drop_guard_future
impl_drop_guard_self
impl_send_sync_mutex
impl_send_sync_rwlock