#locking #atomic #async #context #no-alloc

no-std atomiclock

A non-blocking lock that can be used in async contexts

1 unstable release

0.1.0 Jan 6, 2025

#810 in Concurrency


Used in 4 crates (2 directly)

MIT/Apache

165KB
106 lines

A Rust atomic lock type.

logo

This is a simple atomic lock.

There is no way to sleep the current thread if the lock is not available, what you do about that is up to you.


atomiclock

A Rust atomic lock type.

logo

This is a simple atomic lock.

There is no way to sleep the current thread if the lock is not available, what you do about that is up to you.

No runtime deps