fixed maximum wait time in EnterCriticalPolicySection
authorThomas Bluemel <thomas@reactsoft.com>
Thu, 12 Jan 2006 20:38:18 +0000 (20:38 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Thu, 12 Jan 2006 20:38:18 +0000 (20:38 +0000)
svn path=/trunk/; revision=20815

reactos/lib/userenv/gpolicy.c

index 3b18203..68f7672 100644 (file)
@@ -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;
             }