Python signal Functions

EditRocket provides the following information on signal functions in the Python source code builder.

alarm(time) - If time is non-zero, this function requests that a SIGALRM signal be sent to the process in time seconds.

getsignal(signalnum) - Return the current signal handler for the signal signalnum.

pause() - Cause the process to sleep until a signal is received; the appropriate handler will then be called.

signal(signalnum, handler) - Set the handler for signal signalnum to the function handler.