Changeset 80d2bdb in mainline for generic/src/proc/scheduler.c
- Timestamp:
- 2005-12-15T16:10:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4cad8b2
- Parents:
- 7dd2561
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/scheduler.c
r7dd2561 r80d2bdb 491 491 ipl = interrupts_disable(); 492 492 spinlock_lock(&CPU->lock); 493 count = nrdy/ config.cpu_active;493 count = atomic_get(&nrdy) / config.cpu_active; 494 494 count -= CPU->nrdy; 495 495 spinlock_unlock(&CPU->lock); … … 619 619 * Tell find_best_thread() to wake us up later again. 620 620 */ 621 CPU->kcpulbstarted = 0;621 atomic_set(&CPU->kcpulbstarted,0); 622 622 goto loop; 623 623 }
Note:
See TracChangeset
for help on using the changeset viewer.