mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-40232: Update PyOS_AfterFork_Child() to use _PyThread_at_fork_reinit() (GH-19450)
This commit is contained in:
parent
e5014be049
commit
62f75fe3dd
6 changed files with 21 additions and 13 deletions
|
@ -25,8 +25,9 @@ PyAPI_FUNC(int) _PyEval_AddPendingCall(
|
|||
int (*func)(void *),
|
||||
void *arg);
|
||||
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyThreadState *tstate);
|
||||
PyAPI_FUNC(void) _PyEval_ReInitThreads(
|
||||
struct pyruntimestate *runtime);
|
||||
#ifdef HAVE_FORK
|
||||
extern void _PyEval_ReInitThreads(struct pyruntimestate *runtime);
|
||||
#endif
|
||||
PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(
|
||||
PyThreadState *tstate,
|
||||
int new_depth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue