fixed timeout on wait functions

svn path=/trunk/; revision=875
This commit is contained in:
Phillip Susi 1999-12-15 06:48:10 +00:00
parent 8bbcdc3d4a
commit 7f63532d94

View file

@ -1,4 +1,4 @@
/* $Id: smss.c,v 1.3 1999/12/06 00:25:14 ekohl Exp $ /* $Id: smss.c,v 1.4 1999/12/15 06:48:10 phreak Exp $
* *
* smss.c - Session Manager * smss.c - Session Manager
* *
@ -77,7 +77,6 @@ NtProcessStartup (PPEB Peb)
if (TRUE == InitSessionManager(Children)) if (TRUE == InitSessionManager(Children))
{ {
LARGE_INTEGER Time = {{(DWORD)-1,(DWORD)-1}}; /* infinite? */
NTSTATUS wws; NTSTATUS wws;
DisplayString( L"SM: Waiting for process termination...\n" ); DisplayString( L"SM: Waiting for process termination...\n" );
@ -88,13 +87,13 @@ NtProcessStartup (PPEB Peb)
Children, Children,
WaitAny, WaitAny,
TRUE, /* alertable */ TRUE, /* alertable */
& Time NULL /* NULL for infinite */
); );
#endif #endif
wws = NtWaitForSingleObject ( wws = NtWaitForSingleObject (
Children[CHILD_WINLOGON], Children[CHILD_WINLOGON],
TRUE, /* alertable */ TRUE, /* alertable */
& Time NULL
); );