mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
This commit is contained in:
parent
392e44d18c
commit
29c9711dbc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue