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


Ignore:
Timestamp:
2006-03-18T23:02:08Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4b45210
Parents:
ba81cab
Message:

Untested better IPC functions.

  • There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped

different frame for stack.

File:
1 edited

Legend:

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

    rba81cab rfbcfd458  
    184184        spinlock_lock(&t->lock);
    185185
     186        ASSERT(! (t->state == Ready));
     187
    186188        i = (t->priority < RQ_COUNT -1) ? ++t->priority : t->priority;
    187189       
     
    416418        for (cur=threads_head.next; cur!=&threads_head; cur=cur->next) {
    417419                t = list_get_instance(cur, thread_t, threads_link);
    418                 printf("%s: address=%P, tid=%d, state=%s, task=%P, code=%P, stack=%P, cpu=",
     420                printf("%s: address=%P, tid=%d, state=%s\n\ttask=%P, code=%P, stack=%P, cpu=",
    419421                        t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
    420422                if (t->cpu)
Note: See TracChangeset for help on using the changeset viewer.