zephyr/kernel
Peter Bigot fed035231f kernel: work: fix schedule from running work
k_work_schedule() is supposed to be a no-op if the work item is
already scheduled or submitted: the previous schedule is left
unchanged.  The check incorrectly inhibited the schedule operation
when the work item was neither scheduled nor submitted, but was
running.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-03-29 12:27:36 -04:00
..
include kernel: idle/z_sched_prio_cmp: match implementation to prototype 2021-03-29 07:52:42 -04:00
CMakeLists.txt kernel: remove old work queue implementation 2021-03-03 20:06:00 -05:00
Kconfig kernel: remove EXPERIMENTAL from some Kconfigs 2021-03-23 13:01:08 +01:00
atomic_c.c
banner.c
cache_handlers.c cache: Expand the APIs for cache flushing 2021-01-19 14:31:02 -05:00
compiler_stack_protect.c tests: coverage: exclude the CODE UNREACHABLE of code coverage 2021-01-15 12:42:00 -05:00
condvar.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
device.c kernel: Add missing verification for device_usable_check() system call 2021-03-15 10:45:20 -05:00
errno.c
fatal.c debug: coredump: remove z_ prefix for stuff used outside subsys 2021-01-21 22:08:59 -05:00
futex.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
idle.c clock: remove z_ from semi-public APIs 2021-03-19 11:22:17 -04:00
init.c kernel: Remove duplicate include of kswap.h 2021-03-22 13:04:05 -04:00
kheap.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
mailbox.c
mem_domain.c kernel: remove deprecated mem domain APIs 2021-03-17 13:49:36 -05:00
mem_slab.c
mempool.c z_heap_aligned_alloc(): avoid memory wastage 2021-01-22 10:04:43 -05:00
mmu.c kernel: mmu: Fix trivial typos 2021-02-04 14:00:36 -05:00
msg_q.c
mutex.c
pipes.c kernel: pipes: remove simple dead function k_pipe_block_put 2021-03-22 07:20:06 -04:00
poll.c kernel: poll: rename reserved 'signal' symbol 2021-03-25 07:28:37 -04:00
queue.c
sched.c clock: rename z_tick_get_32 -> sys_clock_tick_get_32 2021-03-19 11:22:17 -04:00
sem.c kernel: sem: handle resets with outstanding waiting threads 2021-03-06 07:39:43 -05:00
smp.c kernel: smp: Remove unused internal API z_smp_reacquire_global_lock() 2021-03-14 18:32:26 -04:00
stack.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
system_work_q.c kernel: remove old work queue implementation 2021-03-03 20:06:00 -05:00
thread.c kernel: arch: use ENOTSUP instead of ENOSYS in k_float_disable() 2021-03-25 14:13:23 +01:00
timeout.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
timer.c kernel: timer: Fix incorrect behavior for timers with K_FOREVER period 2021-03-07 08:00:08 -05:00
userspace.c
userspace_handler.c
version.c
work.c kernel: work: fix schedule from running work 2021-03-29 12:27:36 -04:00
xip.c linker: arm: Add cortex_m itcm section 2021-01-15 14:51:20 +01:00