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
e0ac2beb
Kaydet (Commit)
e0ac2beb
authored
Nis 19, 2015
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
üst
d6e53dab
418fd74f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
NEWS
Misc/NEWS
+5
-0
import.c
Python/import.c
+5
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
e0ac2beb
...
@@ -201,6 +201,11 @@ Build
...
@@ -201,6 +201,11 @@ Build
-
Issue
#
23686
:
Update
OS
X
10.5
installer
and
Windows
builds
to
use
-
Issue
#
23686
:
Update
OS
X
10.5
installer
and
Windows
builds
to
use
OpenSSL
1.0.2
a
.
OpenSSL
1.0.2
a
.
C
API
-----
-
Issue
#
23998
:
PyImport_ReInitLock
()
now
checks
for
lock
allocation
error
What
's New in Python 3.4.3?
What
's New in Python 3.4.3?
===========================
===========================
...
...
Python/import.c
Dosyayı görüntüle @
e0ac2beb
...
@@ -207,8 +207,12 @@ _PyImport_ReleaseLock(void)
...
@@ -207,8 +207,12 @@ _PyImport_ReleaseLock(void)
void
void
_PyImport_ReInitLock
(
void
)
_PyImport_ReInitLock
(
void
)
{
{
if
(
import_lock
!=
NULL
)
if
(
import_lock
!=
NULL
)
{
import_lock
=
PyThread_allocate_lock
();
import_lock
=
PyThread_allocate_lock
();
if
(
import_lock
==
NULL
)
{
Py_FatalError
(
"PyImport_ReInitLock failed to create a new lock"
);
}
}
if
(
import_lock_level
>
1
)
{
if
(
import_lock_level
>
1
)
{
/* Forked as a side effect of import */
/* Forked as a side effect of import */
long
me
=
PyThread_get_thread_ident
();
long
me
=
PyThread_get_thread_ident
();
...
...
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