summaryrefslogtreecommitdiffstats
path: root/Include/intrcheck.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-02 13:51:37 (GMT)
committerGitHub <noreply@github.com>2020-06-02 13:51:37 (GMT)
commit26881c8fae3b67db3a01d335d3ae7356a29b433e (patch)
tree8cf867af2cd74581dc037a70e0549087d7e39fd3 /Include/intrcheck.h
parent297257f7bc198e2dc8e0866b539c73ff1a5cc588 (diff)
downloadcpython-26881c8fae3b67db3a01d335d3ae7356a29b433e.zip
cpython-26881c8fae3b67db3a01d335d3ae7356a29b433e.tar.gz
cpython-26881c8fae3b67db3a01d335d3ae7356a29b433e.tar.bz2
PyOS_AfterFork_Child() uses PyStatus (GH-20596)
PyOS_AfterFork_Child() helper functions now return a PyStatus: PyOS_AfterFork_Child() is now responsible to handle errors. * Move _PySignal_AfterFork() to the internal C API * Add #ifdef HAVE_FORK on _PyGILState_Reinit(), _PySignal_AfterFork() and _PyInterpreterState_DeleteExceptMain().
Diffstat (limited to 'Include/intrcheck.h')
-rw-r--r--Include/intrcheck.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/intrcheck.h b/Include/intrcheck.h
index e5bf5a8..88f2a70 100644
--- a/Include/intrcheck.h
+++ b/Include/intrcheck.h
@@ -1,4 +1,3 @@
-
#ifndef Py_INTRCHECK_H
#define Py_INTRCHECK_H
#ifdef __cplusplus
@@ -19,7 +18,6 @@ Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
#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 */