From 0b45135ff61ec53db63c303b6fb222df8a2b60dd Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Tue, 17 Dec 2019 09:42:00 +0000 Subject: [PATCH] Fix documentation typo --- src/python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python.rs b/src/python.rs index f9164f25..c667c05c 100644 --- a/src/python.rs +++ b/src/python.rs @@ -42,7 +42,7 @@ pub use gil::prepare_freethreaded_python; /// * Thread 1 locks a mutex /// * Thread 1 makes a call into the python interpreter, which releases the GIL /// * Thread 2 acquires the GIL -/// * Thraed 2 tries to locks the mutex, blocks +/// * Thread 2 tries to locks the mutex, blocks /// * Thread 1's python interpreter call blocks trying to reacquire the GIL held by thread 2 /// /// To avoid deadlocking, you should release the GIL before trying to lock a mutex, e.g. with