Go to file
Joshua Harlow 5cd9f3c92f Exit stack and py2.6 with locks do not work
Due to https://bitbucket.org/ncoghlan/contextlib2/issue/17/
it appears the the exit stack has issues with locks on py2.6
so use a smaller implementation that does the same thing
instead.
2015-06-03 15:07:58 -07:00
2015-06-03 12:58:50 -07:00
2015-03-10 10:15:04 -07:00
2015-05-23 18:45:26 -07:00
2015-03-10 11:06:42 -07:00

Fasteners

image

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_locked and write_locked decorators.

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_locked decorator.
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 178 KiB
Languages
Python 100%