1 unstable release

0.1.0 Jan 6, 2025

#1532 in Concurrency

Download history 32/week @ 2025-06-25 1/week @ 2025-07-23 17/week @ 2025-08-20 32/week @ 2025-08-27 23/week @ 2025-09-03 18/week @ 2025-09-10 3/week @ 2025-09-17 19/week @ 2025-09-24 13/week @ 2025-10-01

57 downloads per month
Used in 5 crates (via atomiclock_async)

MIT/Apache

160KB
102 lines

A simple spinlock.

logo

This is a simple spinlock. It is not a fair lock, and it does not provide any way to sleep the current thread if the lock is not available.


atomiclock_spinlock

A simple spinlock.

logo

This is a simple spinlock. It is not a fair lock, and it does not provide any way to sleep the current thread if the lock is not available.

Dependencies

~0.5–2MB
~30K SLoC