mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
This commit is contained in:
parent
392e44d18c
commit
29c9711dbc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue