Top-rated recipes tagged "filelock"http://code.activestate.com/recipes/tags/filelock/top/2015-01-09T10:14:15-08:00ActiveState Code RecipesSystemMutex (Python)
2015-01-09T10:14:15-08:00Fabio Zadroznyhttp://code.activestate.com/recipes/users/4180406/http://code.activestate.com/recipes/578998-systemmutex/
<p style="color: grey">
Python
recipe 578998
by <a href="/recipes/users/4180406/">Fabio Zadrozny</a>
(<a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/filelock/">filelock</a>, <a href="/recipes/tags/lock/">lock</a>, <a href="/recipes/tags/mutex/">mutex</a>).
</p>
<p>This module provides a way to create a mutex which is valid for the system (i.e.: it can be seen by multiple processes).</p>
<p>Note that the mutex is kept until release_mutex() is called or when it's garbage-collected.</p>