Changeset 181a746 in mainline for kernel/generic/src/proc
- Timestamp:
- 2012-07-10T17:50:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5b6c033
- Parents:
- 22b5924
- Location:
- kernel/generic/src/proc
- Files:
-
- 2 edited
-
scheduler.c (modified) (5 diffs)
-
thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r22b5924 r181a746 53 53 #include <synch/spinlock.h> 54 54 #include <synch/workqueue.h> 55 #include <synch/rcu.h> 55 56 #include <config.h> 56 57 #include <context.h> … … 87 88 { 88 89 before_thread_runs_arch(); 90 rcu_before_thread_runs(); 89 91 90 92 #ifdef CONFIG_FPU_LAZY … … 128 130 { 129 131 workq_after_thread_ran(); 132 rcu_after_thread_ran(); 130 133 after_thread_ran_arch(); 131 134 } … … 220 223 goto loop; 221 224 } 225 226 ASSERT(!CPU->idle); 222 227 223 228 unsigned int i; … … 422 427 423 428 case Exiting: 429 rcu_thread_exiting(); 424 430 repeat: 425 431 if (THREAD->detached) { -
kernel/generic/src/proc/thread.c
r22b5924 r181a746 47 47 #include <synch/waitq.h> 48 48 #include <synch/workqueue.h> 49 #include <synch/rcu.h> 49 50 #include <cpu.h> 50 51 #include <str.h> … … 405 406 /* Might depend on previous initialization */ 406 407 thread_create_arch(thread); 408 409 rcu_thread_init(thread); 407 410 408 411 if ((flags & THREAD_FLAG_NOATTACH) != THREAD_FLAG_NOATTACH)
Note:
See TracChangeset
for help on using the changeset viewer.
