#async #atomic #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

#1223 in Concurrency

Download history 37/week @ 2025-06-04 23/week @ 2025-06-11 33/week @ 2025-06-25 4/week @ 2025-07-23 19/week @ 2025-08-20 28/week @ 2025-08-27 33/week @ 2025-09-03

80 downloads per month
Used in 6 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