40 releases (breaking)
0.29.1 | Oct 4, 2024 |
---|---|
0.29.0 | Apr 18, 2024 |
0.28.0 | Apr 11, 2024 |
0.27.0 | Mar 30, 2024 |
0.5.1 | Mar 31, 2019 |
#150 in Concurrency
2,010 downloads per month
Used in 2 crates
62KB
931 lines
Namaste
Project
- License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
- This project follows Semantic Versioning 2.0.0
Features
- Handling locks amongst processes.
- Some extensions for Unix domain sockets.
Locks
Usage
An identifier is a non-empty byte array. Up to 64 bytes are supported. So, for example, you can use SHA3-512 hashes as IDs.
You can call make()
or make_wait()
to lock your IDs. When done, simply drop them via drop()
.
Notes
System | Requirements | Implementation details |
---|---|---|
Linux | Nightly Rust | Abstract sockets (see unix(7) ) |
Windows | Event Objects |
Other systems are not supported.
Dependencies
~0–8.5MB
~89K SLoC