mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-14 12:15:22 +00:00
This API doesn't use the normal thread priority comparison itself, so doesn't get the magic that thread_base.prio provides. If called when another thread should be run, this would preempt the current thread always, even if the scheduler lock was taken. That was benign until recent spinlockifiation exposed it: a mutex in the philosophers test run in preempt_only mode would swap away while holding a spinlock (which used to work with irq locks) and fail later with a "recursive" spinlock assert. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
include | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
idle.c | ||
init.c | ||
int_latency_bench.c | ||
Kconfig | ||
Kconfig.power_mgmt | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timeout.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |