PetscPushSignalHandler

Catches the usual fatal errors and calls a user-provided routine.

Synopsis

int PetscPushSignalHandler(int (*routine)(int, void*),void* ctx )
Not Collective

Input Parameter

routine - routine to call when a signal is received
ctx - optional context needed by the routine

Keywords

push, signal, handler

Location: src/sys/src/errorsignal.c
System Index
Table of Contents