Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigpause(2) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigblock(2)

sigvec(2)

signal(3)




sigpause(2) sigpause(2)
NAME sigpause - release blocked signals and wait for interrupt SYNOPSIS int sigpause(mask) int mask; DESCRIPTION sigpause assigns mask to the set of blocked signals and then waits for a signal to arrive; on return the set of masked signals is restored. mask is usually 0 to indicate that no signals are now to be blocked. In normal usage, a signal is blocked using sigblock(2). To begin a critical section, variables modified on the occurrence of the signal are examined to determine that there is no work to be done, and the process pauses, awaiting work, by using sigpause with the mask returned by sigblock. STATUS MESSAGES AND VALUES sigpause always terminates by being interrupted, returning -1. The sigpause command always terminates by being interrupted with errno set to EINTR. SEE ALSO sigblock(2), sigvec(2), signal(3) January 1992 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026