Changeset ea63704 in mainline
- Timestamp:
- 2007-04-25T11:08:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 07bd231e
- Parents:
- 4b662f8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r4b662f8c rea63704 208 208 interrupts_disable(); 209 209 210 for (i = 0; i <RQ_COUNT; i++) {210 for (i = 0; i < RQ_COUNT; i++) { 211 211 r = &CPU->rq[i]; 212 212 spinlock_lock(&r->lock); … … 452 452 */ 453 453 panic("tid%llu: unexpected state %s\n", THREAD->tid, 454 454 thread_states[THREAD->state]); 455 455 break; 456 456 } … … 572 572 * queues on all CPU's last. 573 573 */ 574 for (j = RQ_COUNT - 1; j >= 0; j--) {574 for (j = RQ_COUNT - 1; j >= 0; j--) { 575 575 for (i = 0; i < config.cpu_active; i++) { 576 576 link_t *l; … … 613 613 spinlock_lock(&t->lock); 614 614 if ((!(t->flags & (THREAD_FLAG_WIRED | 615 616 (!(t->fpu_context_engaged))) {615 THREAD_FLAG_STOLEN))) && 616 (!(t->fpu_context_engaged))) { 617 617 /* 618 618 * Remove t from r.
Note:
See TracChangeset
for help on using the changeset viewer.