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
1f2af8c6
Kaydet (Commit)
1f2af8c6
authored
Nis 05, 2008
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Markup fix; explain what interval timers do; typo fix
üst
9ff4aea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
signal.rst
Doc/library/signal.rst
+8
-2
No files found.
Doc/library/signal.rst
Dosyayı görüntüle @
1f2af8c6
...
@@ -82,7 +82,7 @@ The variables defined in the :mod:`signal` module are:
...
@@ -82,7 +82,7 @@ The variables defined in the :mod:`signal` module are:
.. data:: ITIMER_REAL
.. data:: ITIMER_REAL
Decrements interval timer in real time, and delivers
SIGALRM
upon expiration.
Decrements interval timer in real time, and delivers
:const:`SIGALRM`
upon expiration.
.. data:: ITIMER_VIRTUAL
.. data:: ITIMER_VIRTUAL
...
@@ -149,6 +149,12 @@ The :mod:`signal` module defines the following functions:
...
@@ -149,6 +149,12 @@ The :mod:`signal` module defines the following functions:
:func:`alarm`) and after that every *interval* seconds. The interval
:func:`alarm`) and after that every *interval* seconds. The interval
timer specified by *which* can be cleared by setting seconds to zero.
timer specified by *which* can be cleared by setting seconds to zero.
When an interval timer fires, a signal is sent to the process.
The signal sent is dependent on the timer being used;
:const:`signal.ITIMER_REAL` will deliver :const:`SIGALRM`,
:const:`signal.ITIMER_VIRTUAL` sends :const:`SIGVTALRM`,
and :const:`signal.ITIMER_PROF` will deliver :const:`SIGPROF`.
The old values are returned as a tuple: (delay, interval).
The old values are returned as a tuple: (delay, interval).
Attempting to pass an invalid interval timer will cause a
Attempting to pass an invalid interval timer will cause a
...
@@ -159,7 +165,7 @@ The :mod:`signal` module defines the following functions:
...
@@ -159,7 +165,7 @@ The :mod:`signal` module defines the following functions:
.. function:: getitimer(which)
.. function:: getitimer(which)
Returns current value of a given interval timer
e
specified by *which*.
Returns current value of a given interval timer specified by *which*.
.. versionadded:: 2.6
.. versionadded:: 2.6
...
...
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