server: Add new threads to end of thread_list.

This commit is contained in:
Thomas Kho 2006-07-20 22:44:36 -05:00 committed by Alexandre Julliard
parent dd000074fe
commit 4ff4ba394e
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ static void process_killed( struct process *process )
/* add a thread to a process running threads list */
void add_process_thread( struct process *process, struct thread *thread )
{
list_add_head( &process->thread_list, &thread->proc_entry );
list_add_tail( &process->thread_list, &thread->proc_entry );
if (!process->running_threads++) running_processes++;
grab_object( thread );
}