43 releases (breaking)
Uses new Rust 2024
| 0.30.0 | Dec 26, 2025 |
|---|---|
| 0.29.3 | Jul 4, 2025 |
| 0.29.2 | Mar 29, 2025 |
| 0.29.1 | Oct 4, 2024 |
| 0.5.1 | Mar 31, 2019 |
#1254 in Concurrency
Used in 2 crates
62KB
940 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–620KB