fixed maximum wait time in EnterCriticalPolicySection

svn path=/trunk/; revision=20815
This commit is contained in:
Thomas Bluemel 2006-01-12 20:38:18 +00:00
parent 392e44d18c
commit 29c9711dbc

View file

@ -493,9 +493,9 @@ EnterCriticalPolicySection(IN BOOL bMachine)
if (hSection != NULL) if (hSection != NULL)
{ {
/* wait up to 10 seconds */ /* wait up to 10 minutes */
if (WaitForSingleObject(hSection, if (WaitForSingleObject(hSection,
60000) != WAIT_FAILED) 600000) != WAIT_FAILED)
{ {
return hSection; return hSection;
} }