Re: [CODE] Signals

From: Mark A. Heilpern (
Date: 01/26/99

At 08:30 PM 1/26/99 +1100, you wrote:
>I was wondering if someone could give me a brief explanation of what Signals
>actually are, and how they work? I'm just not sure what functions such as
>signal_setup() and perror() actually do. I think they in some way aid in
>debugging, is this correct? Are they actually necessary in the code?

Signals are basically interruptions to your program. When a signal is received
by yourt program, if it is handling the particular signal (there are 32 of
give-or-take for administrative purposes) when it arrives, your program
will stop
what it's doing to execute the coresponding signal handling routine, and when
that routine completes, your program will pick up where it left off.

signal_setup() installs the handlers for certain signals that you need to
in CircleMUD.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST