2000-07-09 01:37:28 +02:00
|
|
|
#ifndef Py_INTRCHECK_H
|
|
|
|
#define Py_INTRCHECK_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2002-08-12 09:21:58 +02:00
|
|
|
PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
|
2023-08-29 05:20:31 +02:00
|
|
|
|
2017-05-27 17:50:54 +02:00
|
|
|
#ifdef HAVE_FORK
|
2018-05-22 19:59:42 +02:00
|
|
|
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
|
2017-05-27 17:50:54 +02:00
|
|
|
PyAPI_FUNC(void) PyOS_BeforeFork(void);
|
|
|
|
PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
|
|
|
|
PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
|
|
|
|
#endif
|
2018-05-22 19:59:42 +02:00
|
|
|
#endif
|
2023-08-29 05:20:31 +02:00
|
|
|
|
2017-05-27 17:50:54 +02:00
|
|
|
/* Deprecated, please use PyOS_AfterFork_Child() instead */
|
2019-05-28 17:16:33 +02:00
|
|
|
Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
|
2016-09-11 10:03:14 +02:00
|
|
|
|
1993-07-28 11:05:47 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTRCHECK_H */
|