Commit 9ce56b27 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Set the initial thread affinity from the process.

parent 2f3fa859
...@@ -222,6 +222,7 @@ struct thread *create_thread( int fd, struct process *process ) ...@@ -222,6 +222,7 @@ struct thread *create_thread( int fd, struct process *process )
thread->process = (struct process *)grab_object( process ); thread->process = (struct process *)grab_object( process );
thread->desktop = process->desktop; thread->desktop = process->desktop;
thread->affinity = process->affinity;
if (!current) current = thread; if (!current) current = thread;
list_add_head( &thread_list, &thread->entry ); list_add_head( &thread_list, &thread->entry );
......
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