Paul Gofman : ntdll: Clear thread_running flag on exiting ioqueue_thread_proc().
Alexandre Julliard
julliard at winehq.org
Wed Jul 28 15:37:41 CDT 2021
Module: wine
Branch: master
Commit: 4dcc87cfff4e9faf8d5e60504bd95fa6fb5c4b2e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4dcc87cfff4e9faf8d5e60504bd95fa6fb5c4b2e
Author: Paul Gofman <pgofman at codeweavers.com>
Date: Wed Jul 28 01:07:01 2021 +0300
ntdll: Clear thread_running flag on exiting ioqueue_thread_proc().
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/threadpool.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index c27f6d4a145..50433b7c009 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -1570,6 +1570,7 @@ static void CALLBACK ioqueue_thread_proc( void *param )
}
}
+ ioqueue.thread_running = FALSE;
RtlLeaveCriticalSection( &ioqueue.cs );
TRACE( "terminating I/O completion thread\n" );
More information about the wine-cvs
mailing list