Lines Matching refs:user_signals
90 static user_signal_t *user_signals; variable
839 user = &user_signals[signum]; in faulthandler_user()
916 if (user_signals == NULL) { in faulthandler_register_py()
917 user_signals = PyMem_Calloc(NSIG, sizeof(user_signal_t)); in faulthandler_register_py()
918 if (user_signals == NULL) in faulthandler_register_py()
921 user = &user_signals[signum]; in faulthandler_register_py()
979 if (user_signals == NULL) in faulthandler_unregister_py()
982 user = &user_signals[signum]; in faulthandler_unregister_py()
1193 if (user_signals != NULL) { in faulthandler_traverse()
1195 Py_VISIT(user_signals[signum].file); in faulthandler_traverse()
1385 if (user_signals != NULL) { in _PyFaulthandler_Fini()
1387 faulthandler_unregister(&user_signals[signum], signum); in _PyFaulthandler_Fini()
1389 PyMem_Free(user_signals); in _PyFaulthandler_Fini()
1390 user_signals = NULL; in _PyFaulthandler_Fini()