Skip to content
Commit 3330ab12 authored by James Harris's avatar James Harris Committed by Carles Cufí
Browse files

kernel: fix yielding between tasks with same deadline



Previously two tasks with the same deadline and priority would
always have `z_is_t1_higher_prio_than_t2` `true` in both directions.

This is logically inconsistent, and results in `k_yield` not actually
yielding between identical threads.

Signed-off-by: default avatarJames Harris <james.harris@intel.com>
parent ff5b040f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment