More of the same bug, although this one doesn't deadlock:
GetOverlappedResult (win32file.i) doesn't release the GIL.
If wait is set to 1, GetOverlappedResult will block and hold the GIL until the asynchronous IO completes.
Logged In: YES user_id=14198 Originator: NO
Ditto - check the generated .cpp
static PyObject *_wrap_GetOverlappedResult(PyObject *self, PyObject *args) { ... Py_BEGIN_ALLOW_THREADS _result = (BOOLAPI )GetOverlappedResult(_arg0,_arg1,_arg2,_arg3);
Py_END_ALLOW_THREADS
Logged In: YES
user_id=14198
Originator: NO
Ditto - check the generated .cpp
static PyObject *_wrap_GetOverlappedResult(PyObject *self, PyObject *args) {
...
Py_BEGIN_ALLOW_THREADS
_result = (BOOLAPI )GetOverlappedResult(_arg0,_arg1,_arg2,_arg3);
Py_END_ALLOW_THREADS