You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against ae73e09a8d071eaa33fafe785e8295384b9e64a7.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 27019592a4f4aa7134f605093b5d83fe3764dcf5 Mon Sep 17 00:00:00 2001
|
||||
From 6d5610f8950d0319dbec724ef4d1f0ed140a97ec Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 5 Aug 2017 03:39:37 +0200
|
||||
Subject: [PATCH] ntdll: Use fast CS functions for threadpool locking.
|
||||
@@ -8,7 +8,7 @@ Subject: [PATCH] ntdll: Use fast CS functions for threadpool locking.
|
||||
1 file changed, 45 insertions(+), 45 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
|
||||
index 421d1ade133..71771dd2987 100644
|
||||
index 99525f831e1..36d1351aedc 100644
|
||||
--- a/dlls/ntdll/threadpool.c
|
||||
+++ b/dlls/ntdll/threadpool.c
|
||||
@@ -1063,7 +1063,7 @@ static void CALLBACK timerqueue_thread_proc( void *param )
|
||||
@@ -326,7 +326,7 @@ index 421d1ade133..71771dd2987 100644
|
||||
if (cancel_pending)
|
||||
@@ -2928,10 +2928,10 @@ VOID WINAPI TpSetPoolMaxThreads( TP_POOL *pool, DWORD maximum )
|
||||
|
||||
TRACE( "%p %u\n", pool, maximum );
|
||||
TRACE( "%p %lu\n", pool, maximum );
|
||||
|
||||
- RtlEnterCriticalSection( &this->cs );
|
||||
+ enter_critical_section( &this->cs );
|
||||
@@ -339,7 +339,7 @@ index 421d1ade133..71771dd2987 100644
|
||||
/***********************************************************************
|
||||
@@ -2944,7 +2944,7 @@ BOOL WINAPI TpSetPoolMinThreads( TP_POOL *pool, DWORD minimum )
|
||||
|
||||
TRACE( "%p %u\n", pool, minimum );
|
||||
TRACE( "%p %lu\n", pool, minimum );
|
||||
|
||||
- RtlEnterCriticalSection( &this->cs );
|
||||
+ enter_critical_section( &this->cs );
|
||||
@@ -357,7 +357,7 @@ index 421d1ade133..71771dd2987 100644
|
||||
|
||||
@@ -2975,7 +2975,7 @@ VOID WINAPI TpSetTimer( TP_TIMER *timer, LARGE_INTEGER *timeout, LONG period, LO
|
||||
|
||||
TRACE( "%p %p %u %u\n", timer, timeout, period, window_length );
|
||||
TRACE( "%p %p %lu %lu\n", timer, timeout, period, window_length );
|
||||
|
||||
- RtlEnterCriticalSection( &timerqueue.cs );
|
||||
+ enter_critical_section( &timerqueue.cs );
|
||||
@@ -392,5 +392,5 @@ index 421d1ade133..71771dd2987 100644
|
||||
|
||||
/***********************************************************************
|
||||
--
|
||||
2.37.2
|
||||
2.38.1
|
||||
|
||||
|
Reference in New Issue
Block a user