zephyr/kernel
Lucas Dietrich 9a848b3ad4 kernel: workq: Add internal function z_work_submit_to_queue()
This adds the internal function z_work_submit_to_queue(), which
submits the work item to the queue but doesn't force the thread to yield,
compared to the public function k_work_submit_to_queue().

When called from poll.c in the context of k_work_poll events, it ensures
that the thread does not yield in the context of the spinlock of object
that became available.

Fixes #45267

Signed-off-by: Lucas Dietrich <ld.adecy@gmail.com>
2022-05-10 18:39:51 +02:00
..
include kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
paging kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
atomic_c.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
banner.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
cache_handlers.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
CMakeLists.txt kernel: move thread usage routines to own file 2022-01-10 10:38:06 -05:00
compiler_stack_protect.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
condvar.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
device.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
errno.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
events.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
fatal.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
futex.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
idle.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
init.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
Kconfig kernel: sched: Change cpu pin only for not executing threads 2022-05-04 13:46:48 -04:00
Kconfig.vm everywhere: fix typos 2022-03-18 13:24:08 -04:00
kheap.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
mailbox.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
main_weak.c kernel: extract __weak main() into independent file 2021-08-28 08:48:03 -04:00
mem_domain.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
mem_slab.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
mempool.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
mmu.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
msg_q.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
mutex.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
pipes.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
poll.c kernel: workq: Add internal function z_work_submit_to_queue() 2022-05-10 18:39:51 +02:00
queue.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
sched.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
sem.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
smp.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
stack.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
system_work_q.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
thread.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
timeout.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
timer.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
usage.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
userspace.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
userspace_handler.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
version.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
work.c kernel: workq: Add internal function z_work_submit_to_queue() 2022-05-10 18:39:51 +02:00
xip.c kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00