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