[pykd] fixed: issue 9219 ( the call of the go() routine results in a deadlock for multithreading app )

git-svn-id: https://pykd.svn.codeplex.com/svn@68414 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-07-29 14:10:09 +00:00
parent ee8ab44a7c
commit e6d0ea1671

View File

@ -25,8 +25,12 @@ setExecutionStatus()
do { do {
Py_BEGIN_ALLOW_THREADS
hres = dbgExt->control->WaitForEvent( 0, INFINITE ); hres = dbgExt->control->WaitForEvent( 0, INFINITE );
Py_END_ALLOW_THREADS
if ( FAILED( hres ) ) if ( FAILED( hres ) )
throw DbgException( "IDebugControl::SetExecutionStatus failed" ); throw DbgException( "IDebugControl::SetExecutionStatus failed" );