1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 2.0

PR:		ports/117464
Submitted by:	Martin Horcicka <martin@horcicka.eu> (maintainer)
This commit is contained in:
Pav Lucistnik 2007-12-14 21:25:45 +00:00
parent 06cd26c800
commit e04bb54b58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203645
3 changed files with 11 additions and 12 deletions

View File

@ -6,9 +6,10 @@
#
PORTNAME= lock_file
PORTVERSION= 1.0
PORTVERSION= 2.0
CATEGORIES= devel python
MASTER_SITES= http://martin.horcicka.eu/python/lock_file/
MASTER_SITES= http://martin.horcicka.eu/python/lock_file/ \
http://pypi.python.org/packages/source/l/lock_file/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= martin@horcicka.eu

View File

@ -1,3 +1,3 @@
MD5 (lock_file-1.0.tar.gz) = e22d72e9adc7b690954b40118b58b7cf
SHA256 (lock_file-1.0.tar.gz) = 1bf525dfce21ad10c4f121e4ec5ade36da90c3d97a7336ed91c7f65ebaa576f8
SIZE (lock_file-1.0.tar.gz) = 2162
MD5 (lock_file-2.0.tar.gz) = 0cb7ea3f0ff9c67dfc7c2f90b64aabc9
SHA256 (lock_file-2.0.tar.gz) = c77828fdb26e422f274986982a17d34aa24f485ab7e83c0ca0d7c6160dd89471
SIZE (lock_file-2.0.tar.gz) = 2658

View File

@ -1,9 +1,7 @@
Lock files are used on Unix-like systems as a means of synchronization among
processes. Only one process can hold a lock file. Other processes that want to
acquire it have to wait until it is released by the holder.
In this module the lock file is implemented as an empty regular file,
exclusively locked using fcntl.flock. The file is removed when it is to be
released.
Lock file is a traditional means of synchronization among processes. In this
module it is implemented as an empty regular file exclusively locked using
fcntl.lockf. When it is to be released it is removed by default. However, if
all cooperating processes turn off the removal, they get a guaranteed order of
acquisitions and better scalability.
WWW: http://martin.horcicka.eu/python/lock_file/