Changes in kernel/generic/src/time/clock.c [b2e121a:b0c2075] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/time/clock.c
rb2e121a rb0c2075 46 46 #include <synch/spinlock.h> 47 47 #include <synch/waitq.h> 48 #include < halt.h>48 #include <func.h> 49 49 #include <proc/scheduler.h> 50 50 #include <cpu.h> … … 212 212 irq_spinlock_unlock(&THREAD->lock, false); 213 213 214 if ( ticks == 0 && PREEMPTION_ENABLED) {214 if ((!ticks) && (!PREEMPTION_DISABLED)) { 215 215 scheduler(); 216 216 #ifdef CONFIG_UDEBUG
Note:
See TracChangeset
for help on using the changeset viewer.