From 9ce56b272948592942ccfe2555048d52fe813785 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Tue, 2 Feb 2010 15:58:25 +0100
Subject: [PATCH] server: Set the initial thread affinity from the process.

---
 server/thread.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/thread.c b/server/thread.c
index 148ca3b2b47..bdb6c3ce62b 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -222,6 +222,7 @@ struct thread *create_thread( int fd, struct process *process )
 
     thread->process = (struct process *)grab_object( process );
     thread->desktop = process->desktop;
+    thread->affinity = process->affinity;
     if (!current) current = thread;
 
     list_add_head( &thread_list, &thread->entry );
-- 
GitLab