www.delorie.com/gnu/docs/glibc/libc_512.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

24.8 Waiting for a Signal

If your program is driven by external events, or uses signals for synchronization, then when it has nothing to do it should probably wait until a signal arrives.

24.8.1 Using pause  The simple way, using pause.
24.8.2 Problems with pause  Why the simple way is often not very good.
24.8.3 Using sigsuspend  Reliably waiting for a specific signal.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003