Commit dbc033a2 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed process_signaled (thanks to Uwe Bonnes).

parent 114d9d18
......@@ -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) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment