[pywin32-checkins] pywin32/win32/src PyWinTypes.h,1.19,1.20
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2004-03-12 09:40:01
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31951/win32/src Modified Files: PyWinTypes.h Log Message: Correct a hang when the thread lock was manually released then reacquired, as win32gui could do occasionally Index: PyWinTypes.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypes.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** PyWinTypes.h 25 Nov 2003 03:24:02 -0000 1.19 --- PyWinTypes.h 12 Mar 2004 09:20:38 -0000 1.20 *************** *** 546,553 **** CEnterLeavePython() { acquire(); - released = FALSE; } void acquire(void) { state = PyGILState_Ensure(); } ~CEnterLeavePython() { --- 546,553 ---- CEnterLeavePython() { acquire(); } void acquire(void) { state = PyGILState_Ensure(); + released = FALSE; } ~CEnterLeavePython() { |