Changes in kernel/generic/src/time/clock.c [b0c2075:b2e121a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/time/clock.c
rb0c2075 rb2e121a 46 46 #include <synch/spinlock.h> 47 47 #include <synch/waitq.h> 48 #include < func.h>48 #include <halt.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) && (!PREEMPTION_DISABLED)) {214 if (ticks == 0 && PREEMPTION_ENABLED) { 215 215 scheduler(); 216 216 #ifdef CONFIG_UDEBUG
Note:
See TracChangeset
for help on using the changeset viewer.