Skip to content

Python library providing a safe wrapper around `flock(2)`

License

Notifications You must be signed in to change notification settings

remram44/python-fslock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File locks

This library provides a safe wrapper around flock(2). It avoids problems when using locks in multi-threaded applications, while still exposing exclusive and shared locks.

It also contains a caching utility, fslock.cache.cache_get_or_set(), which can be use to safely cache files that are expensive to produce on disk.

About

Python library providing a safe wrapper around `flock(2)`

Topics

Resources

License

Stars

Watchers

Forks

Languages