Module: wine Branch: master Commit: 2dca7aa2e22a2a1cc60cd7893c87ebd36970375b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2dca7aa2e22a2a1cc60cd789...
Author: Mike McCormack mike@codeweavers.com Date: Wed Aug 23 16:12:32 2006 +0900
ntdll: Use RTL_CRITICAL_SECTION not CRITICAL_SECTION.
---
dlls/ntdll/threadpool.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c index 454cb69..60ba1ba 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 {