Changes in kernel/generic/src/proc/thread.c [22e6802:137691a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
r22e6802 r137691a 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.