Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1457 → Rev 1458

/kernel/trunk/generic/src/proc/thread.c
431,9 → 431,13
printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=",
t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
if (t->cpu)
printf("cpu%zd ", t->cpu->id);
printf("cpu%zd", t->cpu->id);
else
printf("none");
if (t->state == Sleeping) {
printf(", kst=%#zX", t->kstack);
printf(", wq=%#zX", t->sleep_queue);
}
printf("\n");
}
}