Skip to content

davide-malagoli/dotlock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

dotlock.py - example python script which uses dot-locking.

lock.sh - shell script example which uses dot-locking.
Can be used as a wrapper to invoke another program atomically.

Both of these are safe over NFS, and should be safe over SMB.

Also see lockfile, part of the procmail package and setlock,
part of djb's daemontools package.

See http://apenwarr.ca/log/?m=201012#13 for an excellent
writeup of the standard Unix locking APIs.

About

Unix dot-locking examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published