Changes in kernel/generic/src/synch/waitq.c [6ec34bb:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
r6ec34bb rd99c1d2 54 54 #include <context.h> 55 55 #include <adt/list.h> 56 #include <arch/cycle.h>57 56 58 57 static void waitq_sleep_timed_out(void *data); … … 374 373 if (!context_save(&THREAD->sleep_interruption_context)) { 375 374 /* Short emulation of scheduler() return code. */ 376 THREAD->last_cycle = get_cycle();377 375 spinlock_unlock(&THREAD->lock); 378 376 return ESYNCH_INTERRUPTED; … … 387 385 if (!context_save(&THREAD->sleep_timeout_context)) { 388 386 /* Short emulation of scheduler() return code. */ 389 THREAD->last_cycle = get_cycle();390 387 spinlock_unlock(&THREAD->lock); 391 388 return ESYNCH_TIMEOUT;
Note:
See TracChangeset
for help on using the changeset viewer.