ハングしたプロセスのダンプを取得したところ、このスレッドで待機しているスレッドが 3 つあります。
ntdll.dll ZwWaitForKeyedEvent
ntdll.dll RtlSleepConditionVariableCS
kernel32.dll SleepConditionVariableCS
odbc32.dll EnterCancelCSAndDbcCS
odbc32.dll FreeStmt
odbc32.dll SQLFreeStmt
oqpers.dll ZED_SQLFreeStmt
のクリティカル セクションを表示する方法はありますodbc32.dll
か? 待機しているスレッドを知りたいです。