Commit c837cb3e authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

rsaenh: Force debug info in critical sections.

parent ed8b7b5e
...@@ -55,7 +55,7 @@ void init_handle_table(struct handle_table *lpTable) ...@@ -55,7 +55,7 @@ void init_handle_table(struct handle_table *lpTable)
lpTable->paEntries = NULL; lpTable->paEntries = NULL;
lpTable->iEntries = 0; lpTable->iEntries = 0;
lpTable->iFirstFree = 0; lpTable->iFirstFree = 0;
InitializeCriticalSection(&lpTable->mutex); InitializeCriticalSectionEx(&lpTable->mutex, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETABLE.mutex"); lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETABLE.mutex");
} }
......
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