[PATCH 3/4] ntdll: Clear thread_running flag on exiting ioqueue_thread_proc().

Paul Gofman pgofman at codeweavers.com
Tue Jul 27 17:07:01 CDT 2021


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 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" );
-- 
2.31.1




More information about the wine-devel mailing list