CriticalSectionTimeout

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager

Data type Range Default value
REG_DWORD Seconds 2592000 (2,592,00 seconds = 30 days)

Description

Determines how long critical section objects can be held by a thread. When this time expires, the system forces the thread to release the critical section, thus preventing critical section deadlocks.