Fixed process_signaled (thanks to Uwe Bonnes).

This commit is contained in:
Alexandre Julliard 1999-03-13 08:58:24 +00:00
parent 114d9d18fb
commit dbc033a261
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ static void process_dump( struct object *obj, int verbose )
static int process_signaled( struct object *obj, struct thread *thread )
{
struct process *process = (struct process *)obj;
return (process->running_threads > 0);
return !process->running_threads;
}
/* get a process from an id (and increment the refcount) */