From e948930ea849e92c93478ac2bd68dbac507ef818 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 26 Oct 1998 10:45:13 +0000 Subject: [PATCH] Bugfix for QUEUE_Signal: Always use PostEvent if no thread is waiting on the queue. --- windows/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/queue.c b/windows/queue.c index c8a83db7a6a..d7cc5acde38 100644 --- a/windows/queue.c +++ b/windows/queue.c @@ -252,7 +252,7 @@ void QUEUE_Signal( HTASK16 hTask ) } SYSTEM_UNLOCK(); - if ( !wakeup && THREAD_IsWin16( THREAD_Current() ) ) + if ( !wakeup ) PostEvent( hTask ); }