mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3abdb27561
commit
990b6cf07e
@ -24,7 +24,7 @@ def create_locks():
|
|||||||
other threads can acquire read locks. The write_lock can also be acquired
|
other threads can acquire read locks. The write_lock can also be acquired
|
||||||
multiple times by the same thread.
|
multiple times by the same thread.
|
||||||
|
|
||||||
Both read_lock and write_lock are meant to be use in with statements (they
|
Both read_lock and write_lock are meant to be used in with statements (they
|
||||||
operate on a single underlying lock.
|
operate on a single underlying lock.
|
||||||
|
|
||||||
WARNING: Be very careful to not try to acquire a read lock while the same
|
WARNING: Be very careful to not try to acquire a read lock while the same
|
||||||
|
Loading…
x
Reference in New Issue
Block a user