Next: Signal Stack, Previous: Blocking Signals, Up: Signal Handling

### 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.

- Using Pause: The simple way, using `pause`.
- Pause Problems: Why the simple way is often not very good.
- Sigsuspend: Reliably waiting for a specific signal.