Signal Handling

Signals notify processes of events. A signal handler is used to process incoming signals. This handler can either be the supplied default handler, or a user-defined handler, which overrides the default handler.

Where should a signal be delivered in a multi-threaded program?