Changeset aa85487 in mainline for kernel/generic/src/proc
- Timestamp:
- 2010-03-07T15:11:56Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aadf01e
- Parents:
- 2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/generic/src/proc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r2e99277 raa85487 542 542 { 543 543 thread_t *t; 544 int count, average, j, k = 0; 544 int count; 545 atomic_count_t average; 545 546 unsigned int i; 547 int j; 548 int k = 0; 546 549 ipl_t ipl; 547 550 -
kernel/generic/src/proc/task.c
r2e99277 raa85487 171 171 * 172 172 */ 173 task_t *task_create(as_t *as, c har *name)173 task_t *task_create(as_t *as, const char *name) 174 174 { 175 175 ipl_t ipl; -
kernel/generic/src/proc/thread.c
r2e99277 raa85487 76 76 77 77 /** Thread states */ 78 c har *thread_states[] = {78 const char *thread_states[] = { 79 79 "Invalid", 80 80 "Running", … … 264 264 265 265 atomic_inc(&nrdy); 266 // FIXME: Why is the avg value never read? 266 267 avg = atomic_get(&nrdy) / config.cpu_active; 267 268 atomic_inc(&cpu->nrdy); … … 288 289 */ 289 290 thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, 290 int flags, c har *name, bool uncounted)291 int flags, const char *name, bool uncounted) 291 292 { 292 293 thread_t *t;
Note:
See TracChangeset
for help on using the changeset viewer.
