8000 GitHub - Myriad-Dreamin/mintex: A minimal Mutex
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Myriad-Dreamin/mintex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mintex

A minimal Mutex

A drop-in for std::sync::Mutex which doesn't do poisoning. The lock will spin and yield if the lock isn't acquired. The implementation doesn't attempt to be "fair", but because it's so simple it is fast.

The main reason for it to exist, is because I know it does not allocate memory during execution and that's a desirable feature for some use cases.

I have run the tests under miri and no issues are detected.

Crates.io

API Docs

Installation

[dependencies]
mintex = "0.1"

License

Apache 2.0 licensed. See LICENSE for details.

About

A minimal Mutex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0