Changeset 6ec34bb in mainline
- Timestamp:
- 2010-04-06T09:12:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0dcdc5
- Parents:
- acc3f745
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
racc3f745 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.