Staging
v0.5.1
https://github.com/python/cpython
Revision 852aee69f49c654a03ad1f64d90a78ba8848e2c6 authored by Stefan Krah on 03 March 2020, 08:19:58 UTC, committed by GitHub on 03 March 2020, 08:19:58 UTC
- Threads created by PyGILState_Ensure() could have a duplicate tstate->id.

(cherry picked from commit b3b9ade4a3d3fe00d933bcd8fc5c5c755d1024f9)
1 parent 72fff60
Raw File
Tip revision: 852aee69f49c654a03ad1f64d90a78ba8848e2c6 authored by Stefan Krah on 03 March 2020, 08:19:58 UTC
bpo-39776: Lock ++interp->tstate_next_unique_id (GH-18746)
Tip revision: 852aee6
python3dll.c
#include <windows.h>

BOOL WINAPI
DllMain(HINSTANCE hInstDLL,
        DWORD fdwReason,
        LPVOID lpReserved)
{
    return TRUE;
}
back to top