zephyr/kernel
Carles Cufi cd8e773b32 kernel: events: Depend on multithreading
Kernel events depend on multithreading being enabled, and mixing them
with a non-multithreaded build gives linker failures internal to
events.c. To avoid this, make events depend on multithreading.

```
libkernel.a(events.c.obj): in function `k_event_post_internal':
175: undefined reference to `z_sched_waitq_walk'
events.c:183: undefined reference to `z_sched_wake_thread'
events.c:191: undefined reference to `z_reschedule'
libkernel.a(events.c.obj): in function `k_sched_current_thread_query':
kernel.h:216: undefined reference to `z_impl_k_sched_current_thread_query'
libkernel.a(events.c.obj): in function `k_event_wait_internal':
events.c:312: undefined reference to `z_pend_curr'
```

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-10-30 15:13:38 +02:00
..
include kernel: Consolidate thread state checking functions 2025-09-24 09:43:30 +02:00
paging kernel: mm: rename z_num_pagefaults_get to k_mem_num_* 2024-06-12 21:13:26 -04:00
atomic_c.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
banner.c kernel: banner: Add option to clear screen on boot 2024-06-13 20:30:14 -04:00
boot_args.c kernel: boot args kconfig cleanup 2025-09-08 15:51:07 -04:00
busy_wait.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
CMakeLists.txt style: fix 'if (' usage in cmake files 2025-10-29 11:44:13 +02:00
compiler_stack_protect.c security: Add default stack protection level 2024-12-20 12:37:20 +01:00
condvar.c tracing: ctf: add condition variables 2025-10-25 15:59:19 +03:00
cpu_mask.c kernel: Simplify k_thread_cpu_pin() 2024-09-20 09:02:38 +02:00
device.c device: move device syscalls to device.c 2025-09-08 15:51:07 -04:00
dynamic.c kernel: dynamic: update storage size for pool of dynamic thread stacks 2025-10-02 11:46:22 +03:00
dynamic_disabled.c kernel: dynamic: declare dynamic stubs when disabled 2023-07-24 12:59:43 -04:00
errno.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
events.c kernel: events: add conditional guards for timeout operations 2025-09-18 09:46:29 +01:00
fatal.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
float.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
futex.c kernel: futex: Allow for fast return on k_futex_wake() 2025-02-03 19:51:20 +01:00
idle.c llext: export spinlock debugging symbols to extensions 2025-02-11 10:11:31 +01:00
init.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
ipi.c kernel: Execute function on another CPU 2025-08-25 09:12:31 +02:00
irq_offload.c kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
Kconfig kernel: events: Depend on multithreading 2025-10-30 15:13:38 +02:00
Kconfig.device device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
Kconfig.init kernel/Kconfig.init: update description of SOC_RESET_HOOK 2025-10-07 12:50:10 +02:00
Kconfig.mem_domain kernel: mem_domain: keep track of threads only if needed 2025-10-21 22:54:44 +03:00
Kconfig.obj_core kernel: Rewrite k_pipe_* API 2025-01-17 19:43:44 +01:00
Kconfig.smp kernel: Execute function on another CPU 2025-08-25 09:12:31 +02:00
Kconfig.vm arch: mmu: do not make MMU user configurable 2025-02-19 04:59:19 +01:00
kheap.c k_heap_aligned_alloc: validate the alignment argument 2025-07-19 13:45:56 -04:00
mailbox.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
main_weak.c kernel: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
mem_domain.c kernel: mem_domain: keep track of threads only if needed 2025-10-21 22:54:44 +03:00
mem_slab.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
mempool.c kernel: mempool: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
mmu.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
msg_q.c kernel: msgq: return once to simplify tracing 2025-10-25 15:59:19 +03:00
mutex.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
nothread.c kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
obj_core.c kernel: reduce k_spin_unlock calls using if-else if-else structure 2024-07-27 20:48:07 +03:00
pipe.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
poll.c kernel: drop deprecated pipe API 2025-09-05 17:13:05 +02:00
priority_queues.c kernel: priority queues: declare as static inlines 2024-04-22 16:40:11 -04:00
queue.c kernel: queue: Allow for fast return 2025-02-03 19:51:20 +01:00
sched.c kernel: Replace redundant switch_handle assignment with assertion 2025-10-25 15:59:29 +03:00
sem.c kernel: Allow for fast return on k_sem_reset() 2025-02-03 19:51:20 +01:00
smp.c kernel: mark z_smp_current_get() with the const attribute 2025-01-10 07:49:08 +01:00
spinlock_validate.c llext: export spinlock debugging symbols to extensions 2025-02-11 10:11:31 +01:00
stack.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
system_work_q.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
thread.c kernel: Replace redundant switch_handle assignment with assertion 2025-10-25 15:59:29 +03:00
thread_monitor.c kernel: thread_monitor: reafactor and remove duplicate code 2025-04-04 07:42:20 +02:00
timeout.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
timer.c lib, kernel: use single evaluation min/max/clamp 2025-10-24 01:10:40 +03:00
timeslicing.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
usage.c kernel: usage: Fix CPU stats retrieval in z_sched_cpu_usage() 2025-10-22 09:04:13 +02:00
userspace.c kernel: drop deprecated pipe API 2025-09-05 17:13:05 +02:00
userspace_handler.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
version.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
work.c kernel: work: work timeout handler uninitialized variables fix 2025-10-10 12:55:06 -04:00