Home
last modified time | relevance | path

Searched refs:signum (Results 1 – 3 of 3) sorted by relevance

/petsc/src/sys/error/tests/
H A Dex1.c8 int signum; member
11 PetscErrorCode handleSignal(int signum, PetscCtx ctx) in handleSignal() argument
15 user->signum = signum; in handleSignal()
16 if (signum == SIGHUP) user->exitHandler = 1; in handleSignal()
30 if (user.signum > 0) { in main()
31 PetscCall(PetscPrintf(PETSC_COMM_SELF, "Caught signal %d\n", user.signum)); in main()
32 user.signum = -1; in main()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_timeout.py46 def timeout_handler(signum: int, frame: Optional[FrameType]) -> NoReturn:
/petsc/src/snes/tutorials/
H A Dex30.c1267 PetscErrorCode InteractiveHandler(int signum, PetscCtx ctx) in InteractiveHandler() argument
1273 if (signum == SIGILL) { in InteractiveHandler()
1276 } else if (signum == SIGCONT) { in InteractiveHandler()
1280 } else if (signum == SIGURG) { in InteractiveHandler()