Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
682c25a4
Kaydet (Commit)
682c25a4
authored
Eyl 15, 2000
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RET_SAVE references should be Py_BLOCK_THREADS references
üst
ce88db02
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ceval.h
Include/ceval.h
+2
-2
No files found.
Include/ceval.h
Dosyayı görüntüle @
682c25a4
...
@@ -52,7 +52,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
...
@@ -52,7 +52,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a
The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a
{}-surrounded block.
{}-surrounded block.
To leave the block in the middle (e.g., with return), you must insert
To leave the block in the middle (e.g., with return), you must insert
a line containing
RET_SAVE
before the return, e.g.
a line containing
Py_BLOCK_THREADS
before the return, e.g.
if (...premature_exit...) {
if (...premature_exit...) {
Py_BLOCK_THREADS
Py_BLOCK_THREADS
...
@@ -70,7 +70,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
...
@@ -70,7 +70,7 @@ DL_IMPORT(int) Py_GetRecursionLimit(void);
Py_UNBLOCK_THREADS
Py_UNBLOCK_THREADS
For convenience, that the value of 'errno' is restored across
For convenience, that the value of 'errno' is restored across
Py_END_ALLOW_THREADS and
RET_SAVE
.
Py_END_ALLOW_THREADS and
Py_BLOCK_THREADS
.
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND
Py_END_ALLOW_THREADS!!!
Py_END_ALLOW_THREADS!!!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment