Rev 935 | Rev 1062 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 935 | Rev 1060 | ||
---|---|---|---|
Line 410... | Line 410... | ||
410 | for (cur=threads_head.next; cur!=&threads_head; cur=cur->next) { |
410 | for (cur=threads_head.next; cur!=&threads_head; cur=cur->next) { |
411 | t = list_get_instance(cur, thread_t, threads_link); |
411 | t = list_get_instance(cur, thread_t, threads_link); |
412 | printf("Thr: %d(%s) ", t->tid, thread_states[t->state]); |
412 | printf("Thr: %d(%s) ", t->tid, thread_states[t->state]); |
413 | if (t->cpu) |
413 | if (t->cpu) |
414 | printf("cpu%d ", t->cpu->id); |
414 | printf("cpu%d ", t->cpu->id); |
415 | - | ||
416 | printf("\n"); |
415 | printf("\n"); |
417 | } |
416 | } |
418 | 417 | ||
419 | spinlock_unlock(&threads_lock); |
418 | spinlock_unlock(&threads_lock); |
420 | interrupts_enable(); |
419 | interrupts_restore(ipl); |
421 | } |
420 | } |