⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sigpause.2

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 2
字号:
.\" SCCSID: @(#)sigpause.2	8.1	9/11/90.TH sigpause 2.SH Namesigpause \- atomically release blocked signals and wait for interrupt.SH Syntax.ft Bsigpause(sigmask).brint sigmask;.ft R.SH Description.NXR "sigpause system call".NXA "sigblock system call" "sigpause system call".NXR "signal" "releasing blocked"The.PN sigpausesystem callassigns .I sigmaskto the set of masked signalsand then waits for a signal to arrive.On return, the set of masked signals is restored.The.I sigmaskis usually 0 to indicate that nosignals are now to be blocked.The.PN sigpausealways terminates by being interrupted, returning EINTR..PPIn normal usage, a signal is blocked using.MS sigblock 2 at the beginning of a critical section of code.Variables modified on the occurrenceof the signal are examined to determine if there is any workto be done. The process pauses, awaiting work, by using.PN sigpausewith the mask returned by.PN sigblock ..SH See Alsosigblock(2), sigvec(2)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -