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 noms symboliques de signaux sont utilisés car les numéros de signaux peuvent varier, au sein des différentes plateformes.

Étymologie

SIG est un préfixe commun pour les noms de signaux. ALRM est une forme abrégée de alarme.

Usage

Les programmes informatiques utilisent SIGALRM pour mettre fin à une action s'effectuant depuis longtemps, ou pour fournir un moyen d'effectuer une action à interval régulier.

SIGALRM est généralement lancé quelques secondes après un appel système alarm. Il est parfois utilisé pour implémenter la fonction sleep; conséquemment, les programmes ne peuvent utiliser alarm de manière fiable pour "se réveiller" d'un délai causé par sleep [1].

Notes et références


Signaux informatiques
POSIX : SIGABRT · SIGALRM · SIGFPE · SIGHUP · SIGILL · SIGINT · SIGKILL · SIGPIPE · SIGQUIT · SIGSEGV · SIGTERM · SIGUSR1 · SIGUSR2 · SIGCHLD · SIGCONT · SIGSTOP · SIGTSTP · SIGTTIN · SIGTTOU · SIGBUS · SIGPOLL · SIGPROF · SIGSYS · SIGTRAP · SIGURG · SIGVTALRM · SIGXCPU · SIGXFSZ · SIGRTMIN à SIGRTMAX
Hors POSIX : SIGIOT · SIGEMT · SIGSTKFLT · SIGIO · SIGCLD · SIGINFO · SIGPWR · SIGLOST · SIGWINCH · SIGUNUSED

Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article SIGALRM de Wikipédia en français (auteurs)

Игры ⚽ Нужна курсовая?

Regardez d'autres dictionnaires:

  • 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 — Infobox Computing signal description = Alarm clock action = Abnormal termination of the processOn POSIX compliant platforms, SIGALRM is the signal thrown by computer programs when a time limit has elapsed. The symbolic constant for SIGALRM is… …   Wikipedia

  • 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”