Thomas Kho : server: Add new threads to end of thread_list.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 25 05:09:47 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 4ff4ba394ed56b2ea94553f90ed7935e85669914
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=4ff4ba394ed56b2ea94553f90ed7935e85669914

Author: Thomas Kho <tkho at ucla.edu>
Date:   Thu Jul 20 22:44:36 2006 -0500

server: Add new threads to end of thread_list.

---

 server/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/process.c b/server/process.c
index a73aa66..acc582e 100644
--- a/server/process.c
+++ b/server/process.c
@@ -534,7 +534,7 @@ static void process_killed( struct proce
 /* 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 );
 }




More information about the wine-cvs mailing list