Changeset 78acbc72 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2023-02-07T18:43:26Z (21 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba25c4b
- Parents:
- 0366d09d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r0366d09d r78acbc72 536 536 537 537 list_foreach(task->threads, th_link, thread_t, thread) { 538 bool sleeping = false; 539 540 irq_spinlock_lock(&thread->lock, false); 541 542 thread->interrupted = true; 543 if (thread->state == Sleeping) 544 sleeping = true; 545 546 irq_spinlock_unlock(&thread->lock, false); 547 548 if (sleeping) 549 waitq_interrupt_sleep(thread); 538 thread_interrupt(thread, false); 550 539 } 551 540
Note:
See TracChangeset
for help on using the changeset viewer.