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