mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:04:12 +02:00
...
This commit is contained in:
parent
b458cf07c4
commit
44545b0c34
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ def get_lock(shared):
|
|||
self.assertFalse(lock.acquire(shared=False, blocking=False))
|
||||
self.assertFalse(lock.acquire(shared=True, blocking=False))
|
||||
lock.acquire(shared=True)
|
||||
exclusive.join(1)
|
||||
self.assertFalse(exclusive.is_alive())
|
||||
lock.release()
|
||||
lock.acquire(shared=False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue