From 2dca7aa2e22a2a1cc60cd7893c87ebd36970375b Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 23 Aug 2006 16:12:32 +0900 Subject: [PATCH] ntdll: Use RTL_CRITICAL_SECTION not CRITICAL_SECTION. --- dlls/ntdll/threadpool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c index 454cb69a21a..60ba1ba9654 100644 --- a/dlls/ntdll/threadpool.c +++ b/dlls/ntdll/threadpool.c @@ -45,14 +45,14 @@ static LONG num_busy_workers; static struct list work_item_list = LIST_INIT(work_item_list); static HANDLE work_item_event; -static CRITICAL_SECTION threadpool_cs; -static CRITICAL_SECTION_DEBUG critsect_debug = +static RTL_CRITICAL_SECTION threadpool_cs; +static RTL_CRITICAL_SECTION_DEBUG critsect_debug = { 0, 0, &threadpool_cs, { &critsect_debug.ProcessLocksList, &critsect_debug.ProcessLocksList }, 0, 0, { (DWORD_PTR)(__FILE__ ": threadpool_cs") } }; -static CRITICAL_SECTION threadpool_cs = { &critsect_debug, -1, 0, 0, 0, 0 }; +static RTL_CRITICAL_SECTION threadpool_cs = { &critsect_debug, -1, 0, 0, 0, 0 }; struct work_item {