Skip to content
Commit 91d17f69 authored by Marcin Szkudlinski's avatar Marcin Szkudlinski Committed by Fabio Baltieri
Browse files

kernel: add k_thread_absolute_deadline_set call



k_thread_absolute_deadline_set is simiar to existing
k_thread_deadline_set. Diffrence is that k_thread_deadline_set
takes a deadline as a time delta from the current time,
k_thread_absolute_deadline_set is expecting a timestamp
in the same units used by k_cycle_get_32().

This allows to calculate deadlines for several thread and
set them in deterministic way, using a common timestamp as
a "now" time base.

Signed-off-by: default avatarMarcin Szkudlinski <marcin.szkudlinski@intel.com>
parent c2e47bdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment