Commit 2dca7aa2 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

ntdll: Use RTL_CRITICAL_SECTION not CRITICAL_SECTION.

parent 15e1e4d8
...@@ -45,14 +45,14 @@ static LONG num_busy_workers; ...@@ -45,14 +45,14 @@ static LONG num_busy_workers;
static struct list work_item_list = LIST_INIT(work_item_list); static struct list work_item_list = LIST_INIT(work_item_list);
static HANDLE work_item_event; static HANDLE work_item_event;
static CRITICAL_SECTION threadpool_cs; static RTL_CRITICAL_SECTION threadpool_cs;
static CRITICAL_SECTION_DEBUG critsect_debug = static RTL_CRITICAL_SECTION_DEBUG critsect_debug =
{ {
0, 0, &threadpool_cs, 0, 0, &threadpool_cs,
{ &critsect_debug.ProcessLocksList, &critsect_debug.ProcessLocksList }, { &critsect_debug.ProcessLocksList, &critsect_debug.ProcessLocksList },
0, 0, { (DWORD_PTR)(__FILE__ ": threadpool_cs") } 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 struct work_item
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment