Changeset 4365d10 in mainline for kernel/generic/include/proc/thread.h


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/include/proc/thread.h

    r2e915f2 r4365d10  
    5454/* Thread flags */
    5555
    56 /** Thread cannot be migrated to another CPU. */
     56/** Thread cannot be migrated to another CPU.
     57 *
     58 * When using this flag, the caller must set cpu in the thread_t
     59 * structure manually before calling thread_ready (even on uniprocessor).
     60 */
    5761#define THREAD_FLAG_WIRED       (1 << 0)
    5862/** Thread was migrated to another CPU and has not run yet. */
Note: See TracChangeset for help on using the changeset viewer.