mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-07 00:52:21 +00:00
Storing this value in milliseconds rather than using k_timeout_t requires the system to perform division at runtime to convert types. This pulls in the 64-bit soft division code on platforms without hardware for this. Perform the conversion at build time instead by using the runtime time directly. The init_delay field was moved within the _static_thread_data structure to avoid introducing a hole for alignment on 32-bit systems when using 64-bit timeouts. Use SYS_TIMEOUT_MS instead of K_MSEC so that the initial delay can be set to forever. Signed-off-by: Keith Packard <keithp@keithp.com> |
||
---|---|---|
.. | ||
include | ||
paging | ||
atomic_c.c | ||
banner.c | ||
busy_wait.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
condvar.c | ||
device.c | ||
dynamic_disabled.c | ||
dynamic.c | ||
errno.c | ||
events.c | ||
fatal.c | ||
futex.c | ||
idle.c | ||
init.c | ||
Kconfig | ||
Kconfig.vm | ||
kheap.c | ||
mailbox.c | ||
main_weak.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
mmu.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.c | ||
timeout.c | ||
timer.c | ||
usage.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work.c | ||
xip.c |