zephyr/kernel
TaiJu Wu 39f710136e sched: finalize_cancel_locked can early return
The code `SYS_SLIST_FOR_EACH_CONTAINER_SAFE` just for remove work
from `pending_cancels`.
After removing work successfully, the function can return early.
It is unnecessary to iterate continuously.

Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
2024-03-07 19:40:51 -05:00
..
include kernel: Remove unused z_pend_curr_irqlock() 2024-03-07 11:51:06 -05:00
paging
atomic_c.c
banner.c
busy_wait.c
CMakeLists.txt kernel: move float operations out of thread.c 2024-03-06 19:27:28 -05:00
compiler_stack_protect.c
condvar.c
cpu_mask.c kernel: rename scheduler spinlock variable and make it private 2024-03-06 19:27:28 -05:00
device.c
dynamic_disabled.c
dynamic.c
errno.c
events.c
fatal.c
float.c kernel: move float operations out of thread.c 2024-03-06 19:27:28 -05:00
futex.c
idle.c kernel: fix spelling errors 2024-02-25 20:53:37 -05:00
init.c kernel: move z_init_static_threads to where it is being used 2024-03-06 19:27:28 -05:00
irq_offload.c kernel: split irq_offload ccode into own file 2024-03-06 19:27:28 -05:00
Kconfig kernel: split thread monitor 2024-03-06 19:27:28 -05:00
Kconfig.device kernel: reorg Kconfigs and split them 2024-03-06 19:27:28 -05:00
Kconfig.obj_core kernel: reorg Kconfigs and split them 2024-03-06 19:27:28 -05:00
Kconfig.smp kernel: reorg Kconfigs and split them 2024-03-06 19:27:28 -05:00
Kconfig.vm
kheap.c kernel: rename h -> heap 2024-03-06 19:27:28 -05:00
mailbox.c kernel: fix spelling errors 2024-02-25 20:53:37 -05:00
main_weak.c
mem_domain.c kernel: rename scheduler spinlock variable and make it private 2024-03-06 19:27:28 -05:00
mem_slab.c
mempool.c
mmu.c
msg_q.c
mutex.c kernel: sched: z_set_prio -> z_thread_prio_set 2024-03-06 19:27:28 -05:00
obj_core.c
pipes.c
poll.c
priority_queues.c kernel: move priority queue handling to own file/header 2024-03-02 15:06:45 +01:00
queue.c
sched.c kernel: Remove unused z_pend_curr_irqlock() 2024-03-07 11:51:06 -05:00
sem.c
smp.c
spinlock_validate.c kernel: move spinlock validation to own file 2024-03-06 19:27:28 -05:00
stack.c
system_work_q.c
thread_monitor.c kernel: split thread monitor 2024-03-06 19:27:28 -05:00
thread.c kernel: thread: use consistent thread parameter 2024-03-06 19:27:28 -05:00
timeout.c
timer.c
usage.c
userspace_handler.c
userspace.c kernel/userspace: Fix dynamic thread stack allocation at userspace 2024-03-06 14:17:53 +01:00
version.c
work.c sched: finalize_cancel_locked can early return 2024-03-07 19:40:51 -05:00
xip.c