00f75170b89b7c49b839c0a1b18cc06d6fd00e38
Since this is meant to be a leaf dependency for openstack it should not depend on any other openstack packages, so to make this happen just have a really tiny _utils code module that contains the needed functionality used from oslo.utils (at a later date we may be able to better handle this).
Fasteners
Overview
A python package that provides useful locks.
It includes the following.
Reader-writer locks
- Multiple readers (at the same time).
- Single writers (blocking any readers).
- Helpful
read_lockedandwrite_lockeddecorators.
Inter-process locks
- Single writer using file based locking (these automatically release
on process exit, even if
__release__or__exit__is never called). - Helpful
interprocess_lockeddecorator.
Description
Languages
Python
100%
