File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ using ..C: C
1212"""
1313 lock(f)
1414
15- Unlock the GIL, compute `f()`, unlock the GIL, then return the result of `f()`.
15+ Lock the GIL, compute `f()`, unlock the GIL, then return the result of `f()`.
1616
1717Use this to run Python code from threads that do not currently hold the GIL, such as new
1818threads. Since the main Julia thread holds the GIL by default, you will need to
3232"""
3333 @lock expr
3434
35- Unlock the GIL, compute `expr`, unlock the GIL, then return the result of `expr`.
35+ Lock the GIL, compute `expr`, unlock the GIL, then return the result of `expr`.
3636
3737Use this to run Python code from threads that do not currently hold the GIL, such as new
3838threads. Since the main Julia thread holds the GIL by default, you will need to
You can’t perform that action at this time.
0 commit comments