Subversion Repositories HelenOS-historic

Rev

Rev 1288 | Rev 1571 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1288 Rev 1458
Line 429... Line 429...
429
       
429
       
430
            t = (thread_t *) node->value[i];
430
            t = (thread_t *) node->value[i];
431
            printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=",
431
            printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=",
432
                t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
432
                t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
433
            if (t->cpu)
433
            if (t->cpu)
434
                printf("cpu%zd ", t->cpu->id);
434
                printf("cpu%zd", t->cpu->id);
435
            else
435
            else
436
                printf("none");
436
                printf("none");
-
 
437
            if (t->state == Sleeping) {
-
 
438
                printf(", kst=%#zX", t->kstack);
-
 
439
                printf(", wq=%#zX", t->sleep_queue);
-
 
440
            }
437
            printf("\n");
441
            printf("\n");
438
        }
442
        }
439
    }
443
    }
440
 
444
 
441
    spinlock_unlock(&threads_lock);
445
    spinlock_unlock(&threads_lock);