From 7798307bdf603bd680370876db2e56cbe191687e Mon Sep 17 00:00:00 2001 From: Stephane Lussier Date: Sat, 13 Feb 1999 12:24:04 +0000 Subject: [PATCH] Use global synchronization objects, to be able to use it in different processes (not only the process which create the synchro object). --- windows/queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/queue.c b/windows/queue.c index 84d28c5db4c..e7b44d56468 100644 --- a/windows/queue.c +++ b/windows/queue.c @@ -451,6 +451,7 @@ static HQUEUE16 QUEUE_CreateMsgQueue( BOOL16 bCreatePerQData ) msgQueue->wWinVersion = pTask ? pTask->version : 0; InitializeCriticalSection( &msgQueue->cSection ); + MakeCriticalSectionGlobal( &msgQueue->cSection ); /* Create an Event object for waiting on message, used by win32 thread only */ -- 2.11.4.GIT