xref: /OK3568_Linux_fs/buildroot/package/python-lockfile/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PYTHON_LOCKFILE
2	bool "python-lockfile"
3	help
4	  The lockfile package exports a LockFile class which provides a
5	  simple API for locking files. Unlike the Windows
6	  msvcrt.locking function, the fcntl.lockf and flock functions,
7	  and the deprecated posixfile module, the API is identical
8	  across both Unix (including Linux and Mac) and Windows
9	  platforms.
10
11	  The lock mechanism relies on the atomic nature of the link
12	  (on Unix) and mkdir (on Windows) system calls. An
13	  implementation based on SQLite is also provided, more as a
14	  demonstration of the possibilities it provides than as
15	  production-quality code.
16
17	  https://pypi.org/project/lockfile/
18