rsaenh: Force debug info in critical sections.
This commit is contained in:
parent
ed8b7b5e2a
commit
c837cb3e77
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue