File indexing completed on 2025-01-18 10:06:49
0001 #ifndef Py_INTRCHECK_H
0002 #define Py_INTRCHECK_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
0008 #ifdef HAVE_FORK
0009 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
0010 PyAPI_FUNC(void) PyOS_BeforeFork(void);
0011 PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
0012 PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
0013 #endif
0014 #endif
0015
0016 Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
0017
0018 #ifndef Py_LIMITED_API
0019 PyAPI_FUNC(int) _PyOS_IsMainThread(void);
0020
0021 #ifdef MS_WINDOWS
0022
0023 PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
0024 #endif
0025 #endif
0026
0027 #ifdef __cplusplus
0028 }
0029 #endif
0030 #endif