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
2aeb070e
Kaydet (Commit)
2aeb070e
authored
Ara 13, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
(Merge 3.3) Issue #14432: Fix compilation when thread support is disabled
üst
c47fb54a
258e4d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
_testcapimodule.c
Modules/_testcapimodule.c
+5
-0
No files found.
Modules/_testcapimodule.c
Dosyayı görüntüle @
2aeb070e
...
...
@@ -2869,6 +2869,7 @@ PyDoc_STRVAR(docstring_with_signature_and_extra_newlines,
"This docstring has a valid signature and some extra newlines."
);
#ifdef WITH_THREAD
typedef
struct
{
PyThread_type_lock
start_event
;
PyThread_type_lock
exit_event
;
...
...
@@ -2955,6 +2956,8 @@ exit:
PyThread_free_lock
(
test_c_thread
.
exit_event
);
return
res
;
}
#endif
/* WITH_THREAD */
static
PyMethodDef
TestMethods
[]
=
{
{
"raise_exception"
,
raise_exception
,
METH_VARARGS
},
...
...
@@ -3084,8 +3087,10 @@ static PyMethodDef TestMethods[] = {
{
"docstring_with_signature_and_extra_newlines"
,
(
PyCFunction
)
test_with_docstring
,
METH_NOARGS
,
docstring_with_signature_and_extra_newlines
},
#ifdef WITH_THREAD
{
"call_in_temporary_c_thread"
,
call_in_temporary_c_thread
,
METH_O
,
PyDoc_STR
(
"set_error_class(error_class) -> None"
)},
#endif
{
NULL
,
NULL
}
/* sentinel */
};
...
...
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