zephyr/kernel
Jordan Yates 1ef647f396 kernel: add `k_can_yield` helper function
Implements a function that application and driver code can use to check
whether it is valid to yield (or block) in the current context. This
check is required for functions that can feasibly be run from multiple
contexts. The primary intended use case is power management transition
functions, which can be run by application code explicitly or
automatically in the idle thread by system PM.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-05-06 11:33:10 +02:00
..
include arch: arm: aarch32: cortex_a_r: Add shared FPU support 2022-05-05 12:03:27 +09:00
paging
CMakeLists.txt
Kconfig kernel: sched: Change cpu pin only for not executing threads 2022-05-04 13:46:48 -04:00
Kconfig.vm
atomic_c.c
banner.c
cache_handlers.c
compiler_stack_protect.c
condvar.c
device.c kernel/device: Remove unknown external pointer 2022-04-08 09:59:00 -04:00
errno.c
events.c
fatal.c
futex.c
idle.c
init.c kernel: Remove idle thread cpu index on single-core devices 2022-03-30 10:08:48 -04:00
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c
msg_q.c
mutex.c kernel: mutex: remove unnecessary schedule locking 2022-04-20 21:03:59 -04:00
pipes.c
poll.c
queue.c
sched.c kernel: add `k_can_yield` helper function 2022-05-06 11:33:10 +02:00
sem.c
smp.c
stack.c
system_work_q.c
thread.c kernel: update k_thread_state_str() API 2022-04-20 20:20:13 -04:00
timeout.c kernel/timeout: Cleanup/speedup parallel announce logic 2022-04-13 13:26:14 -07:00
timer.c kernel/k_timer: Robustify vs. late interrupts 2022-05-04 09:55:46 -05:00
usage.c
userspace.c
userspace_handler.c
version.c
work.c kernel/workq: Cleanup bespoke reschedule point 2022-05-02 10:23:13 -05:00
xip.c