SIGPWR

SIGPWR

Infobox Computing signal
name = SIGPWR (non-POSIX)
description = Power failure (System V)
action = Abnormal termination of the process (some systems, including Linuxman|7|signal|die.net|List of available signals] ), ignored (other systems)
On some Unix-like platforms, SIGPWR is the signal sent to computer programs when the system experiences a power failure. The symbolic constant for SIGPWR is defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

On Linux, SIGINFO is a synonym for SIGPWR.

Etymology

"SIG" is a common prefix for signal names. "PWR" is an abbreviation for "power". "INFO" refers to the system "informing" processes of a critical situation.

Usage

SIGPWR is sent when a power failure is imminent; for example, when the battery is running low on a laptop or when a power failure forces a server to switch to an uninterruptible power supply. Programs would be expected to synchronise state to permanent storage to ensure that if the system powers off data is not lost.

On some operating systems, the Boehm garbage collector uses SIGXCPU and SIGPWR to synchronise cross-thread garbage collection.

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

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

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

  • SIGXCPU — Infobox Computing signal description = CPU time limit exceeded (4.2BSD) action = Abnormal termination of the processOn POSIX compliant platforms, SIGXCPU is a signal, which is delivered to and can be caught by computer programs when they have… …   Wikipedia

  • SIGINFO — Infobox Computing signal name = SIGINFO (non POSIX) description = status request from the keyboard action = ignoreOn some Unix like platforms, SIGINFO is the signal sent to computer programs when a status request is received from the keyboard.… …   Wikipedia

  • SIGQUIT — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • SIGTSTP — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • Signal (Computer) — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • Kill (Unix) — En informatique, kill est une commande de certains systèmes d exploitation (particulièrement Unix et ses dérivés) utilisée pour demander l arrêt d un processus en cours d exécution. Sommaire 1 Implémentations 2 Exemples 3 Voir aus …   Wikipédia en Français

  • 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

  • SIGINT (POSIX) —  Pour l’article homonyme, voir SIGINT.  SIGINT est, au sein des plateformes répondant aux normes POSIX, le signal envoyé à un processus afin de provoquer son interruption. La constante symbolique du pré processeur C pour SIGINT est… …   Wikipédia en Français

Share the article and excerpts

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