31 releases (breaking)
0.23.1 | Feb 12, 2023 |
---|---|
0.22.0 | Feb 10, 2023 |
0.20.1 | Nov 20, 2022 |
0.18.0 | Jul 12, 2022 |
0.5.1 | Mar 31, 2019 |
#347 in Concurrency
82 downloads per month
Used in r1
38KB
516 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–44MB
~712K SLoC