Changeset dd218ea in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2023-04-15T16:30:15Z (18 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b2ec5cf
- Parents:
- c680333
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-03-28 16:12:16)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-04-15 16:30:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
rc680333 rdd218ea 231 231 irq_spinlock_lock(&thread->lock, true); 232 232 thread->cpu = cpu; 233 thread-> wired = true;233 thread->nomigrate++; 234 234 irq_spinlock_unlock(&thread->lock, true); 235 235 } … … 260 260 261 261 cpu_t *cpu; 262 if (thread-> wired || thread->nomigrate || thread->fpu_context_engaged) {262 if (thread->nomigrate || thread->fpu_context_engaged) { 263 263 /* Cannot ready to another CPU */ 264 264 assert(thread->cpu != NULL); … … 348 348 thread->priority = -1; /* Start in rq[0] */ 349 349 thread->cpu = NULL; 350 thread->wired = false;351 350 thread->stolen = false; 352 351 thread->uspace =
Note:
See TracChangeset
for help on using the changeset viewer.