Skip to content

Commit

Permalink
Merge pull request #18 from harlowja/add-nice-links
Browse files Browse the repository at this point in the history
Add useful link to locking blog
  • Loading branch information
harlowja committed Dec 13, 2015
2 parents 4641f5b + 0797b37 commit 95e1cce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fasteners/process_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ class _InterProcessLock(object):
safe to close the file descriptor while another thread holds the
lock. Just opening and closing the lock file can break synchronization,
so lock files must be accessed only using this abstraction.
.. warning::
It is quite useful to read before using (to understand
the risks involved): http://0pointer.de/blog/projects/locking.html
"""

MAX_DELAY = 0.1
Expand Down

0 comments on commit 95e1cce

Please sign in to comment.