Staging
v0.5.1
https://github.com/python/cpython
Revision 29da8392a7ffa3e72212809e4838a11ee6e134d1 authored by Miss Islington (bot) on 21 September 2018, 20:30:50 UTC, committed by GitHub on 21 September 2018, 20:30:50 UTC

Make it more accurate and not limited to UNIX.
(cherry picked from commit 7d161726e4ddd2b2cdd7ac58a7e9e9ea3f57a807)

Co-authored-by: Xiang Zhang <angwerzx@126.com>
1 parent f37496e
Raw File
Tip revision: 29da8392a7ffa3e72212809e4838a11ee6e134d1 authored by Miss Islington (bot) on 21 September 2018, 20:30:50 UTC
Make docs of exitcode for subprocess.getstatusoutput more clear. (GH-9477)
Tip revision: 29da839
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);
PyAPI_FUNC(void) PyOS_AfterFork(void);

#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyOS_IsMainThread(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