server: Set the initial thread affinity from the process.
This commit is contained in:
parent
2f3fa8596b
commit
9ce56b2729
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue