1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

rsaenh: Force debug info in critical sections.

This commit is contained in:
Paul Gofman 2024-02-26 20:37:14 -06:00 committed by Alexandre Julliard
parent ed8b7b5e2a
commit c837cb3e77

View file

@ -55,7 +55,7 @@ void init_handle_table(struct handle_table *lpTable)
lpTable->paEntries = NULL;
lpTable->iEntries = 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");
}