Changes in kernel/generic/src/proc/thread.c [aab5e46:aae365bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
raab5e46 raae365bc 48 48 #include <synch/spinlock.h> 49 49 #include <synch/waitq.h> 50 #include <synch/workqueue.h>51 #include <synch/rcu.h>52 50 #include <cpu.h> 53 51 #include <str.h> … … 69 67 #include <syscall/copy.h> 70 68 #include <errno.h> 69 #include <debug.h> 71 70 72 71 /** Thread states */ … … 272 271 { 273 272 assert(irq_spinlock_locked(&thread->lock)); 274 workq_before_thread_is_ready(thread);275 273 } 276 274 … … 399 397 thread->task = task; 400 398 401 thread->workq = NULL;402 403 399 thread->fpu_context_exists = false; 404 400 thread->fpu_context_engaged = false; … … 414 410 /* Might depend on previous initialization */ 415 411 thread_create_arch(thread); 416 417 rcu_thread_init(thread);418 412 419 413 if ((flags & THREAD_FLAG_NOATTACH) != THREAD_FLAG_NOATTACH)
Note:
See TracChangeset
for help on using the changeset viewer.