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
a1ad5f65
Kaydet (Commit)
a1ad5f65
authored
Haz 16, 2003
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct function name.
üst
73453757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
threadmodule.c
Modules/threadmodule.c
+3
-3
No files found.
Modules/threadmodule.c
Dosyayı görüntüle @
a1ad5f65
...
...
@@ -279,7 +279,7 @@ This is synonymous to ``raise SystemExit''. It will cause the current\n\
thread to exit silently unless the exception is caught."
);
static
PyObject
*
sys_interrupt_main
(
PyObject
*
self
,
PyObject
*
args
)
thread_PyThread_interrupt_main
(
PyObject
*
self
)
{
PyErr_SetInterrupt
();
Py_INCREF
(
Py_None
);
...
...
@@ -290,7 +290,7 @@ PyDoc_STRVAR(interrupt_doc,
"interrupt_main()
\n
\
\n
\
Raise a KeyboardInterrupt in the main thread.
\n
\
A subthread can use this
method
to interrupt the main thread."
A subthread can use this
function
to interrupt the main thread."
);
#ifndef NO_EXIT_PROG
...
...
@@ -355,7 +355,7 @@ static PyMethodDef thread_methods[] = {
METH_NOARGS
,
exit_doc
},
{
"exit"
,
(
PyCFunction
)
thread_PyThread_exit_thread
,
METH_NOARGS
,
exit_doc
},
{
"interrupt_main"
,
(
PyCFunction
)
sys
_interrupt_main
,
{
"interrupt_main"
,
(
PyCFunction
)
thread_PyThread
_interrupt_main
,
METH_NOARGS
,
interrupt_doc
},
{
"get_ident"
,
(
PyCFunction
)
thread_get_ident
,
METH_NOARGS
,
get_ident_doc
},
...
...
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