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
6595e153
Kaydet (Commit)
6595e153
authored
Haz 29, 2003
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document PyThreadState_SetAsyncExc().
üst
63fd15c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
init.tex
Doc/api/init.tex
+14
-0
No files found.
Doc/api/init.tex
Dosyayı görüntüle @
6595e153
...
@@ -685,6 +685,20 @@ interpreter lock has been created.
...
@@ -685,6 +685,20 @@ interpreter lock has been created.
thread is active, and
\NULL
meant that an exception was raised]
{
2.3
}
thread is active, and
\NULL
meant that an exception was raised]
{
2.3
}
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
PyThreadState
_
SetAsyncExc
}{
long id, PyObject *exc
}
Asynchronously raise an exception in a thread.
The
\var
{
id
}
argument is the thread id of the target thread;
\var
{
exc
}
is the exception object to be raised.
This function does not steal any references to
\var
{
exc
}
.
To prevent naive misuse, you must write your own C extension
to call this. Must be called with the GIL held.
Returns the number of thread states modified; if it returns a number
greater than one, you're in trouble, and you should call it again
with
\var
{
exc
}
set to
\constant
{
NULL
}
to revert the effect.
This raises no exceptions.
\versionadded
{
2.3
}
\end{cfuncdesc}
\section
{
Profiling and Tracing
\label
{
profiling
}}
\section
{
Profiling and Tracing
\label
{
profiling
}}
...
...
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