Query: pause
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pause(2) System Calls Manual pause(2)NAMEpause - suspend process until signalSYNOPSISDESCRIPTIONsuspends the calling process until it receives a signal. The signal must be one that is not currently set to be ignored or blocked (masked) by the calling process. If the signal causes termination of the calling process, does not return. If the signal is by the calling process and control is returned from the signal-catching function (see signal(5)), the calling process resumes execution from the point of suspension; with a return value of -1 from and set toAPPLICATION USAGEThreads Considerations Signal dispositions (such as catch/default/ignore) are shared by all threads in the process and blocked signal masks are maintained by each thread. Therefore, the signals being waited for should not be ignored by the process or blocked by the calling thread. will suspend only the calling thread until it receives a signal. If other threads in the process do not block the signal, the signal may be delivered to another thread in the process and the thread in may continue waiting. For this reason, the use of is recommended instead of for multi-threaded applications. For more information regarding signals and threads, refer to signal(5).SEE ALSOalarm(2), kill(2), sigwait(2), wait(2), signal(5).STANDARDS CONFORMANCEpause(2)
Related Man Pages |
---|
pthread_kill(3) - redhat |
pthread_sigmask(3) - redhat |
sigwait(3) - redhat |
sigsuspend(2) - hpux |
sigpause(3c) - hpux |
Similar Topics in the Unix Linux Community |
---|
handling-create new SIGNALS |
Count Number Of Threads in a Process |
Trying to block signal |
Measure thread execution (in C, unix) |
Pausing and resuming process on laptop |