Changeset 4365d10 in mainline for kernel/generic/src


Ignore:
Timestamp:
2007-04-18T19:10:26Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc85fb9
Parents:
2e915f2
Message:

Document and assert proper usage of THREAD_FLAG_WIRED.
Original patch by Jan Hudecek.

File:
1 edited

Legend:

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

    r2e915f2 r4365d10  
    239239        cpu = CPU;
    240240        if (t->flags & THREAD_FLAG_WIRED) {
     241                ASSERT(t->cpu != NULL);
    241242                cpu = t->cpu;
    242243        }
Note: See TracChangeset for help on using the changeset viewer.