bpo-33608: Make sure locks in the runtime are properly re-created. (gh-12245)

This commit is contained in:
Eric Snow 2019-03-08 23:44:33 -07:00 committed by GitHub
parent 5be45a6105
commit 8479a3426e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 40 deletions

View file

@ -229,6 +229,7 @@ typedef struct pyruntimestate {
PyAPI_DATA(_PyRuntimeState) _PyRuntime;
PyAPI_FUNC(_PyInitError) _PyRuntimeState_Init(_PyRuntimeState *);
PyAPI_FUNC(void) _PyRuntimeState_Fini(_PyRuntimeState *);
PyAPI_FUNC(void) _PyRuntimeState_ReInitThreads(void);
/* Initialize _PyRuntimeState.
Return NULL on success, or return an error message on failure. */