server: Set the initial thread affinity from the process.

This commit is contained in:
Alexandre Julliard 2010-02-02 15:58:25 +01:00
parent 2f3fa8596b
commit 9ce56b2729
1 changed files with 1 additions and 0 deletions

View File

@ -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 );