1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/py-portalocker/pkg-descr
Danilo G. Baio ff5df37d90 Add devel/py-portalocker: Python library that provides an easy API to file locking
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the -o mand option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however. For more information about the subject:
  https://en.wikipedia.org/wiki/File_locking
  http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
  https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux

WWW: https://pypi.org/project/portalocker/
2018-12-22 20:36:02 +00:00

12 lines
603 B
Plaintext

Portalocker is a library to provide an easy API to file locking.
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the -o mand option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however. For more information about the subject:
https://en.wikipedia.org/wiki/File_locking
http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
WWW: https://pypi.org/project/portalocker/