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:
parent
68ea200f32
commit
492661079c
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue