Bugfix: DirectedYield() only to 16-bit tasks in ReplyMessage().
This commit is contained in:
parent
36d10c88cd
commit
c08b9c5b90
@ -821,7 +821,7 @@ BOOL WINAPI ReplyMessage( LRESULT result )
|
|||||||
LeaveCriticalSection(&senderQ->cSection);
|
LeaveCriticalSection(&senderQ->cSection);
|
||||||
|
|
||||||
/* switch directly to sending task (16 bit thread only) */
|
/* switch directly to sending task (16 bit thread only) */
|
||||||
if (THREAD_IsWin16( THREAD_Current() ))
|
if ( THREAD_IsWin16( THREAD_Current() ) && THREAD_IsWin16( senderQ->thdb ) )
|
||||||
DirectedYield16( senderQ->thdb->teb.htask16 );
|
DirectedYield16( senderQ->thdb->teb.htask16 );
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user