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
02e8c0fd
Kaydet (Commit)
02e8c0fd
authored
Nis 21, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits. Reference to signal module becomes a hyperlink.
üst
283c5884
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
libthread.tex
Doc/lib/libthread.tex
+5
-5
No files found.
Doc/lib/libthread.tex
Dosyayı görüntüle @
02e8c0fd
\section
{
\module
{
thread
}
---
Multiple threads of control.
}
\declaremodule
{
builtin
}{
thread
}
Multiple threads of control
}
\declaremodule
{
builtin
}{
thread
}
\modulesynopsis
{
Create multiple threads of control within one interpreter.
}
...
...
@@ -31,7 +31,7 @@ Raised on thread-specific errors.
This is the type of lock objects.
\end{datadesc}
\begin{funcdesc}
{
start
_
new
_
thread
}{
function, args
\optional
{
kwargs
}}
\begin{funcdesc}
{
start
_
new
_
thread
}{
function, args
\optional
{
,
kwargs
}}
Start a new thread. The thread executes the function
\var
{
function
}
with the argument list
\var
{
args
}
(which must be a tuple). The
optional
\var
{
kwargs
}
argument specifies a dictionary of keyword
...
...
@@ -54,7 +54,7 @@ This is an obsolete synonym for \function{exit()}.
%\begin{funcdesc}{exit_prog}{status}
%Exit all threads and report the value of the integer argument
%\var{status} as the exit status of the entire program.
%\strong{Caveat:} code in pending \
code
{finally} clauses, in this thread
%\strong{Caveat:} code in pending \
keyword
{finally} clauses, in this thread
%or in other threads, is not executed.
%\end{funcdesc}
...
...
@@ -103,7 +103,7 @@ some thread, \code{0} if not.
\item
Threads interact strangely with interrupts: the
\exception
{
KeyboardInterrupt
}
exception will be received by an
arbitrary thread. (When the
\module
{
signal
}
\refbimodindex
{
signal
}
arbitrary thread. (When the
\
ref
module
{
signal
}
\refbimodindex
{
signal
}
module is available, interrupts always go to the main thread.)
\item
...
...
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