Staging
v0.8.1
https://github.com/python/cpython
Revision 986375ebde0dd5ff2b7349e445a06bd28a3a8ee2 authored by Serhiy Storchaka on 30 November 2017, 20:48:31 UTC, committed by GitHub on 30 November 2017, 20:48:31 UTC
with the persistent_id() and persistent_load() methods.
1 parent bc8ac6b
Raw File
Tip revision: 986375ebde0dd5ff2b7349e445a06bd28a3a8ee2 authored by Serhiy Storchaka on 30 November 2017, 20:48:31 UTC
bpo-28416: Break reference cycles in Pickler and Unpickler subclasses (#4080)
Tip revision: 986375e
intrcheck.h

#ifndef Py_INTRCHECK_H
#define Py_INTRCHECK_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
PyAPI_FUNC(void) PyOS_InitInterrupts(void);
#ifdef HAVE_FORK
PyAPI_FUNC(void) PyOS_BeforeFork(void);
PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
#endif
/* Deprecated, please use PyOS_AfterFork_Child() instead */
PyAPI_FUNC(void) PyOS_AfterFork(void) Py_DEPRECATED(3.7);

#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyOS_IsMainThread(void);
PyAPI_FUNC(void) _PySignal_AfterFork(void);

#ifdef MS_WINDOWS
/* windows.h is not included by Python.h so use void* instead of HANDLE */
PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
#endif
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTRCHECK_H */
back to top