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
3232384e
Kaydet (Commit)
3232384e
authored
Haz 17, 2014
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
revert tstate_delete_common, since it's pretty much wrong
üst
81669697
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
pystate.c
Python/pystate.c
+1
-8
No files found.
Python/pystate.c
Dosyayı görüntüle @
3232384e
...
...
@@ -315,16 +315,9 @@ PyThreadState_DeleteCurrent()
Py_FatalError
(
"PyThreadState_DeleteCurrent: no current tstate"
);
_PyThreadState_Current
=
NULL
;
/*
Only call tstate_delete_common to have the tstate if we're not finalizing
or we're the main thread. The main thread will do this for us. Not calling
tstate_delete_common means we won't lock the interpreter head lock,
avoiding a possible deadlock with the GIL.
*/
if
(
!
_Py_Finalizing
||
_Py_Finalizing
==
tstate
)
tstate_delete_common
(
tstate
);
if
(
autoInterpreterState
&&
PyThread_get_key_value
(
autoTLSkey
)
==
tstate
)
PyThread_delete_key_value
(
autoTLSkey
);
tstate_delete_common
(
tstate
);
PyEval_ReleaseLock
();
}
#endif
/* WITH_THREAD */
...
...
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