Skip to content
Commit b186303c authored by Charles E. Youse's avatar Charles E. Youse Committed by Anas Nashif
Browse files

kernel/sched.c: refactor k_sleep() implementation for varied timescales



Current z_impl_k_sleep() does double duty, converting between units
specified by the API and ticks, as well as implementing the sleeping
mechanism itself. This patch separates the API from the mechanism,
so that sleeps need not be tied to millisecond timescales.

Signed-off-by: default avatarCharles E. Youse <charles.youse@intel.com>
parent 2f126bb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment