Home The GNU C Library www.imodulo.com · 2003-04-05
Imodulo

Blocking Signals

[ Up: Signal Handling ]
[ Previous: Generating Signals ][ Next: Waiting for a Signal ]

Blocking a signal means telling the operating system to hold it and deliver it later. Generally, a program does not block signals indefinitely--it might as well ignore them by setting their actions to SIG_IGN. But it is useful to block signals briefly, to prevent them from interrupting sensitive operations. For instance:

Menu