Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2503 → Rev 2504

/trunk/kernel/generic/src/proc/thread.c
577,7 → 577,7
interrupts_restore(ipl);
}
 
static void thread_walker(avltree_node_t *node)
static bool thread_walker(avltree_node_t *node, void *arg)
{
thread_t *t;
600,6 → 600,8
printf(" %#10zx", t->sleep_queue);
printf("\n");
 
return true;
}
 
/** Print list of threads debug info */
616,7 → 618,7
printf("------ ---------- ---------- -------- ---------- --- --------"
"-- ---------- ---------- ---- ---------\n");
 
avltree_walk(&threads_tree, thread_walker);
avltree_walk(&threads_tree, thread_walker, NULL);
 
spinlock_unlock(&threads_lock);
interrupts_restore(ipl);