Changes in kernel/generic/src/proc/thread.c [137691a:22e6802] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
r137691a r22e6802 76 76 77 77 /** Thread states */ 78 c onst char *thread_states[] = {78 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?267 266 avg = atomic_get(&nrdy) / config.cpu_active; 268 267 atomic_inc(&cpu->nrdy); … … 289 288 */ 290 289 thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, 291 int flags, c onst char *name, bool uncounted)290 int flags, char *name, bool uncounted) 292 291 { 293 292 thread_t *t;
Note:
See TracChangeset
for help on using the changeset viewer.