We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02bed07 + 29dc91c commit 2b0d376Copy full SHA for 2b0d376
1 file changed
src/GIL/GIL.jl
@@ -12,7 +12,7 @@ using ..C: C
12
"""
13
lock(f)
14
15
-Unlock the GIL, compute `f()`, unlock the GIL, then return the result of `f()`.
+Lock the GIL, compute `f()`, unlock the GIL, then return the result of `f()`.
16
17
Use this to run Python code from threads that do not currently hold the GIL, such as new
18
threads. Since the main Julia thread holds the GIL by default, you will need to
@@ -32,7 +32,7 @@ end
32
33
@lock expr
34
35
-Unlock the GIL, compute `expr`, unlock the GIL, then return the result of `expr`.
+Lock the GIL, compute `expr`, unlock the GIL, then return the result of `expr`.
36
37
38
0 commit comments