![]() |
ATLAS Offline Software
|
Functions | |
| setTrfSignalHandlers (handler) | |
| Install common handler for various signals. | |
| resetTrfSignalHandlers () | |
| Restore signal handlers to the default ones. | |
Variables | |
| msg = logging.getLogger(__name__) | |
| dict | _savedSignalHandlerDict = {} |
| list | _defaultSignalList = ['SIGABRT', 'SIGFPE', 'SIGBUS', 'SIGHUP', 'SIGILL', 'SIGIO', 'SIGPIPE', 'SIGQUIT', 'SIGSEGV', 'SIGSYS', 'SIGXCPU', 'SIGXFSZ'] |
| python.trfSignal.resetTrfSignalHandlers | ( | ) |
Restore signal handlers to the default ones.
Handlers are restored from _defaultSignalHandlerDict dictionary.
Definition at line 40 of file trfSignal.py.
| python.trfSignal.setTrfSignalHandlers | ( | handler | ) |
Install common handler for various signals.
All existing signal handlers are saved in the _trfSignalHandlerDict dictionary to allow for them to be restored.
| handler | Common signal handler for all signals concerned. |
Definition at line 28 of file trfSignal.py.
|
protected |
Definition at line 22 of file trfSignal.py.
|
protected |
Definition at line 16 of file trfSignal.py.
| python.trfSignal.msg = logging.getLogger(__name__) |
Definition at line 14 of file trfSignal.py.