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.