Fast hierarchical locks
Project description
= Hierarchical locks
from hilok import HiLok
h = HiLok()
rd = h.read("/some/path")
# nonblocking, this will fail!
try:
wr = h.write("/some", block=False)
except TimeoutError:
pass
rd.release()
wr = h.write("/some")
# timeout=0 is the the same as block=False
rd = h.read("/some/path", block=False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for hilok-1.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800f8548cd3246eddff1ce181b450ce39489f0d24d911c6e2daf967f9de46e0c |
|
MD5 | f69d09b795eae3077c6b6ae9ae5e20d0 |
|
BLAKE2b-256 | 07df97aa23150f4cce9b738714f133b902b26a03e8be959c5fb451c57214fbd0 |