Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
pause(2)		      System Calls Manual		      pause(2)

NAME
       pause - suspend process until signal

SYNOPSIS
DESCRIPTION
       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 re-
       turn.

       If the signal is	by the calling process and control  is	returned  from
       the  signal-catching  function (see signal(5)), the calling process re-
       sumes execution from the	point of suspension; with a return value of -1
       from and	set to EINTR.

WARNING
       Check  all  references to signal(5) for appropriateness on systems that
       support sigvector(2).  can affect the behavior described	on this	page.

APPLICATION USAGE
   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).

SEE ALSO
       alarm(2), kill(2), sigvector(2),	sigwait(2), wait(2), signal(5).

STANDARDS CONFORMANCE
								      pause(2)

NAME | SYNOPSIS | DESCRIPTION | WARNING | APPLICATION USAGE | SEE ALSO | STANDARDS CONFORMANCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pause&sektion=2&manpath=HP-UX+11.22>

home | help