Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce88db0 commit 682c25aCopy full SHA for 682c25a
1 file changed
Include/ceval.h
@@ -52,7 +52,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
52
The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a
53
{}-surrounded block.
54
To leave the block in the middle (e.g., with return), you must insert
55
- a line containing RET_SAVE before the return, e.g.
+ a line containing Py_BLOCK_THREADS before the return, e.g.
56
57
if (...premature_exit...) {
58
Py_BLOCK_THREADS
@@ -70,7 +70,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
70
Py_UNBLOCK_THREADS
71
72
For convenience, that the value of 'errno' is restored across
73
- Py_END_ALLOW_THREADS and RET_SAVE.
+ Py_END_ALLOW_THREADS and Py_BLOCK_THREADS.
74
75
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND
76
Py_END_ALLOW_THREADS!!!
0 commit comments