Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    r935e28c r6eef3c4  
    5252#include <atomic.h>
    5353#include <synch/spinlock.h>
    54 #include <synch/workqueue.h>
    55 #include <synch/rcu.h>
    5654#include <config.h>
    5755#include <context.h>
     
    6563#include <debug.h>
    6664#include <stacktrace.h>
    67 #include <cpu.h>
    6865
    6966static void scheduler_separated_stack(void);
     
    8986{
    9087        before_thread_runs_arch();
    91         rcu_before_thread_runs();
    9288       
    9389#ifdef CONFIG_FPU_LAZY
     
    130126static void after_thread_ran(void)
    131127{
    132         workq_after_thread_ran();
    133         rcu_after_thread_ran();
    134128        after_thread_ran_arch();
    135129}
     
    224218                goto loop;
    225219        }
    226 
    227         ASSERT(!CPU->idle);
    228220       
    229221        unsigned int i;
     
    405397        ASSERT((!THREAD) || (irq_spinlock_locked(&THREAD->lock)));
    406398        ASSERT(CPU != NULL);
    407         ASSERT(interrupts_disabled());
    408399       
    409400        /*
     
    429420               
    430421                case Exiting:
    431                         rcu_thread_exiting();
    432422repeat:
    433423                        if (THREAD->detached) {
Note: See TracChangeset for help on using the changeset viewer.