pause man page on HP-UX

Printed from

pause(2)							      pause(2)

       pause - suspend process until signal

       suspends	 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

       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 to

   Threads 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).

       alarm(2), kill(2), sigwait(2), wait(2), signal(5).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net