mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fixed timeout on wait functions
svn path=/trunk/; revision=875
This commit is contained in:
parent
8bbcdc3d4a
commit
7f63532d94
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue