Lines Matching refs:sh
17 static struct SH *sh = NULL; variable
47 if (!sh || !sh->handler) ierr = PetscSignalHandlerDefault(sig, NULL); in PetscSignalHandler_Private()
49 …if (sh->classid != SIGNAL_CLASSID) SETERRABORT(PETSC_COMM_WORLD, PETSC_ERR_COR, "Signal object has… in PetscSignalHandler_Private()
50 ierr = (*sh->handler)(sig, sh->ctx); in PetscSignalHandler_Private()
326 if (sh) {
327 …PetscCheck(sh->classid == SIGNAL_CLASSID, PETSC_COMM_SELF, PETSC_ERR_COR, "Signal object has been …
328 newsh->previous = sh;
333 sh = newsh;
357 if (!sh) PetscFunctionReturn(PETSC_SUCCESS);
358 …PetscCheck(sh->classid == SIGNAL_CLASSID, PETSC_COMM_SELF, PETSC_ERR_COR, "Signal object has been …
360 tmp = sh;
361 sh = sh->previous;
363 if (!sh || !sh->handler) {