spin-locks 0.0.1

An Intel hardware-optimized spin lock that uses Hardware Lock Elision (HLE) and a non-CAS based spin lock (an OR lock) as a fast fallback.
docs.rs failed to build spin-locks-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: spin-locks-0.0.2

spin-locks

spin-locks is a rust crate that provides a Intel hardware-optimized spin lock that uses Hardware Lock Elision (HLE) and a non-CAS based spin lock (an OR lock) as a fast fallback.

These locks do not provide a Mutex or a MutexGuard to automatically unlock on drop, as they do not protect a particular item of data. This is to make it easier to adapt these locks with the use of persistent memory, which is non-stack and non-heap allocated.

Licensing

The license for this project is MIT.