mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[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:
parent
ee8ab44a7c
commit
e6d0ea1671
@ -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" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user