mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:35:46 +02:00
...
This commit is contained in:
parent
6e34c77905
commit
3abdb27561
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ def create_locks():
|
|||
class SHLock(object):
|
||||
'''
|
||||
Shareable lock class. Used to implement the Multiple readers-single writer
|
||||
paradigm.
|
||||
paradigm. As best as I can tell, neither writer nor reader starvation
|
||||
should be possible.
|
||||
|
||||
Based on code from: https://github.com/rfk/threading2
|
||||
'''
|
||||
|
|
|
|||
Loading…
Reference in a new issue