mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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
|
|
@ -10,7 +10,9 @@ PyAPI_FUNC(PyObject *) _PyImport_FindBuiltin(
|
|||
const char *name /* UTF-8 encoded string */
|
||||
);
|
||||
|
||||
#ifdef HAVE_FORK
|
||||
extern void _PyImport_ReInitLock(void);
|
||||
#endif
|
||||
extern void _PyImport_Cleanup(PyThreadState *tstate);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue