Changeset a0bb10ef in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2006-03-23T11:49:11Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
303c94c
Parents:
281b607
Message:

Fix kcpulb() to change state of the migrated thread to Entering so that thread_ready() won't panic() on violated assertion.
Make print out of threads and tasks more dense again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/thread.c

    r281b607 ra0bb10ef  
    416416        for (cur=threads_head.next; cur!=&threads_head; cur=cur->next) {
    417417                t = list_get_instance(cur, thread_t, threads_link);
    418                 printf("%s: address=%P, tid=%d, state=%s\n\ttask=%P, code=%P, stack=%P, cpu=",
     418                printf("%s: address=%P, tid=%d, state=%s, task=%P, code=%P, stack=%P, cpu=",
    419419                        t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
    420420                if (t->cpu)
Note: See TracChangeset for help on using the changeset viewer.