Bugfix for QUEUE_Signal: Always use PostEvent if no thread is waiting
on the queue.
This commit is contained in:
parent
9552483350
commit
e948930ea8
|
@ -252,7 +252,7 @@ void QUEUE_Signal( HTASK16 hTask )
|
|||
}
|
||||
SYSTEM_UNLOCK();
|
||||
|
||||
if ( !wakeup && THREAD_IsWin16( THREAD_Current() ) )
|
||||
if ( !wakeup )
|
||||
PostEvent( hTask );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue