Changeset 4365d10 in mainline
- Timestamp:
- 2007-04-18T19:10:26Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc85fb9
- Parents:
- 2e915f2
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
r2e915f2 r4365d10 54 54 /* Thread flags */ 55 55 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 */ 57 61 #define THREAD_FLAG_WIRED (1 << 0) 58 62 /** Thread was migrated to another CPU and has not run yet. */ -
kernel/generic/src/proc/thread.c
r2e915f2 r4365d10 239 239 cpu = CPU; 240 240 if (t->flags & THREAD_FLAG_WIRED) { 241 ASSERT(t->cpu != NULL); 241 242 cpu = t->cpu; 242 243 }
Note:
See TracChangeset
for help on using the changeset viewer.