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
3572d371
Kaydet (Commit)
3572d371
authored
Agu 14, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated platform specific notes (it is now more common to have this)
added some caveats.
üst
8f06247b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
8 deletions
+40
-8
libthread.tex
Doc/lib/libthread.tex
+20
-4
libthread.tex
Doc/libthread.tex
+20
-4
No files found.
Doc/lib/libthread.tex
Dosyayı görüntüle @
3572d371
...
...
@@ -8,9 +8,9 @@ threads of control sharing their global data space. For
synchronization, simple locks (a.k.a.
\ \dfn
{
mutexes
}
or
\dfn
{
binary
semaphores
}
) are provided.
The module is optional
and supported on SGI IRIX 4.x and 5.x and Sun
Solaris 2.x systems, as well as on systems that have a PTHREAD
implementation (e.g.
\
KSR)
.
The module is optional
. It is supported on Windows NT and '95, SGI
IRIX, Solaris 2.x, as well as on systems that have a POSIX thread
(a.k.a. ``pthread'') implementation
.
It defines the following constant and functions:
...
...
@@ -91,7 +91,7 @@ thread. (When the \code{signal} module is available, interrupts
always go to the main thread.)
\item
Calling
\code
{
sys.exit()
}
or raising the
\code
{
SystemExit
}
is
Calling
\code
{
sys.exit()
}
or raising the
\code
{
SystemExit
}
exception
is
equivalent to calling
\code
{
thread.exit
_
thread()
}
.
\item
...
...
@@ -99,4 +99,20 @@ Not all built-in functions that may block waiting for I/O allow other
threads to run. (The most popular ones (
\code
{
sleep
}
,
\code
{
read
}
,
\code
{
select
}
) work as expected.)
\item
It is not possible to interrupt the
\code
{
acquire()
}
method on a lock
-- the
\code
{
KeyboardInterrupt
}
exception will happen after the lock
has been acquired.
\item
When the main thread exits, it is system defined whether the other
threads survive. On SGI IRIX using the native thread implementation,
they survive. On most other systems, they are killed without
executing ``try-finally'' clauses or executing object destructors.
\item
When the main thread exits, it doesn't do any of its usual cleanup
(except that ``try-finally'' clauses are honored), and the standard
I/O files are not flushed.
\end{itemize}
Doc/libthread.tex
Dosyayı görüntüle @
3572d371
...
...
@@ -8,9 +8,9 @@ threads of control sharing their global data space. For
synchronization, simple locks (a.k.a.
\ \dfn
{
mutexes
}
or
\dfn
{
binary
semaphores
}
) are provided.
The module is optional
and supported on SGI IRIX 4.x and 5.x and Sun
Solaris 2.x systems, as well as on systems that have a PTHREAD
implementation (e.g.
\
KSR)
.
The module is optional
. It is supported on Windows NT and '95, SGI
IRIX, Solaris 2.x, as well as on systems that have a POSIX thread
(a.k.a. ``pthread'') implementation
.
It defines the following constant and functions:
...
...
@@ -91,7 +91,7 @@ thread. (When the \code{signal} module is available, interrupts
always go to the main thread.)
\item
Calling
\code
{
sys.exit()
}
or raising the
\code
{
SystemExit
}
is
Calling
\code
{
sys.exit()
}
or raising the
\code
{
SystemExit
}
exception
is
equivalent to calling
\code
{
thread.exit
_
thread()
}
.
\item
...
...
@@ -99,4 +99,20 @@ Not all built-in functions that may block waiting for I/O allow other
threads to run. (The most popular ones (
\code
{
sleep
}
,
\code
{
read
}
,
\code
{
select
}
) work as expected.)
\item
It is not possible to interrupt the
\code
{
acquire()
}
method on a lock
-- the
\code
{
KeyboardInterrupt
}
exception will happen after the lock
has been acquired.
\item
When the main thread exits, it is system defined whether the other
threads survive. On SGI IRIX using the native thread implementation,
they survive. On most other systems, they are killed without
executing ``try-finally'' clauses or executing object destructors.
\item
When the main thread exits, it doesn't do any of its usual cleanup
(except that ``try-finally'' clauses are honored), and the standard
I/O files are not flushed.
\end{itemize}
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