mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
This commit is contained in:
@@ -493,9 +493,9 @@ EnterCriticalPolicySection(IN BOOL bMachine)
|
||||
|
||||
if (hSection != NULL)
|
||||
{
|
||||
/* wait up to 10 seconds */
|
||||
/* wait up to 10 minutes */
|
||||
if (WaitForSingleObject(hSection,
|
||||
60000) != WAIT_FAILED)
|
||||
600000) != WAIT_FAILED)
|
||||
{
|
||||
return hSection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user