Alexandre Julliard : server: Avoid hang on process startup.
Module: wine Branch: refs/heads/master Commit: 492661079c01313ad46797c984a09a2010d3ebe5 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=492661079c01313ad46797c9... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Feb 21 19:30:17 2006 +0100 server: Avoid hang on process startup. Fixed the startup_info signaled state to avoid blocking the parent process when the child crashes on startup. --- server/process.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/process.c b/server/process.c index a593ad2..8c71334 100644 --- a/server/process.c +++ b/server/process.c @@ -448,7 +448,7 @@ static void startup_info_dump( struct ob 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) */
participants (1)
-
Alexandre Julliard