Skip to content

Commit 89e2e63

Browse files
ngoldbaummattip
andauthored
Update doc/source/overview.rst
Co-authored-by: Matti Picus <matti.picus@gmail.com>
1 parent ed167f8 commit 89e2e63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ The `threading.Lock` ensures only one thread can call into the wrapped C library
716716
at a time. Any thread that calls ``l.acquire()`` while another thread has
717717
already acquired the lock will block until the lock is released.
718718

719-
Using a global lock like this is necessary it is not safe for more than one
719+
Using a global lock like this is necessary if it is not safe for more than one
720720
thread to simultaneously call into any part of the library. This is the case if
721721
the library relies on global state that does not have any explicit
722722
synchronization. Libraries like this are not `re-entrant

0 commit comments

Comments
 (0)