SIGALRM

SIGALRM

Infobox Computing signal
description = Alarm clock
action = Abnormal termination of the process
On POSIX-compliant platforms, SIGALRM is the signal thrown by computer programs when a time limit has elapsed. The symbolic constant for SIGALRM is defined in the signal.h header file. Symbolic signal names are used because signal numbers can vary across platforms.

Etymology

"SIGs" is a common prefix for signal names. "ALRM" stands for "alarm".

Usage

Computer programs often use SIGALRM to make a long-running action time out, or to provide a way of performing an action at regular intervals.

SIGALRM is generally raised a whole number of seconds after an alarm system call is made. It is sometimes used to implement the sleep function; consequently, programs cannot reliably use alarm to "wake up" from a delay caused by sleep [http://perldoc.perl.org/functions/sleep.html] .


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • SIGALRM — Saltar a navegación, búsqueda SIGALRM Descripción: Alarma de reloj Acción por defecto: Terminación anormal del proceso SA SEÑALINFO macros Ninguna En plataformas compatibles con POSIX, SIGALRM es la señal que envía un programa cuando ha expirado… …   Wikipedia Español

  • SIGALRM — Описание: Сигнал истечения времени заданного alarm() По умолчанию: завершение процесса коды SA SIGINFO (не имеет специфических кодов) В POSIX системах, SIGALRM  сигнал, посылаемый процессу по истечении времени предварительно заданном… …   Википедия

  • SIGALRM — Au sein des plateformes répondant aux normes POSIX, SIGALRM est le signal envoyé à un processus lorsqu une limite de temps est écoulée. La constante symbolique du pré processeur C pour SIGALRM est définie dans le fichier d en tête signal.h. Les… …   Wikipédia en Français

  • SIGALRM — Signal des Alarm Timers (Signal Nr. 14) unter X/Open, ATT und BSD UNIX ( >xedit /usr/include/signal.h) …   Acronyms

  • SIGALRM — Signal des Alarm Timers (Signal Nr. 14) unter X/Open, ATT und BSD UNIX ( >xedit /usr/include/signal.h) …   Acronyms von A bis Z

  • SIGPROF — Описание: Истечение таймера профилирования По умолчанию: завершение процесса коды SA SIGINFO (не имеет специфических кодов) В POSIX системах, SIGPROF  сигнал, посылаемый процессу по истечении времени заданном в таймере профилирования.… …   Википедия

  • SIGVTALRM — Описание: Истечение виртуального таймера 4.2BSD По умолчанию: завершение процесса коды SA SIGINFO (не имеет специфических кодов) В POSIX системах, SIGVTALRM  сигнал, посылаемый процессу по истечении времени заданном в «виртуальном»… …   Википедия

  • SIGVTALRM — Infobox Computing signal description = Virtual alarm clock (4.2BSD) action = Abnormal termination of the processOn POSIX compliant platforms, SIGVTALRM is the signal thrown by computer programs when a time limit has elapsed. In source code,… …   Wikipedia

  • SIGPROF — Infobox Computing signal description = Profiling timer expired action = Abnormal termination of the processOn POSIX compliant platforms, SIGPROF is the signal thrown by computer programs when the profiling timer expires. The symbolic constant for …   Wikipedia

  • Signal (computing) — A signal is a limited form of inter process communication used in Unix, Unix like, and other POSIX compliant operating systems. Essentially it is an asynchronous notification sent to a process in order to notify it of an event that occurred. When …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”