server: Avoid hang on process startup.

Fixed the startup_info signaled state to avoid blocking the parent
process when the child crashes on startup.
This commit is contained in:
Alexandre Julliard 2006-02-21 19:30:17 +01:00
parent 68ea200f32
commit 492661079c
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ static void startup_info_dump( struct object *obj, int verbose )
static int startup_info_signaled( struct object *obj, struct thread *thread )
{
struct startup_info *info = (struct startup_info *)obj;
return info->process && is_process_init_done(info->process);
return info->process && info->process->startup_state != STARTUP_IN_PROGRESS;
}
/* get a process from an id (and increment the refcount) */