Skip to content
Commit c291ed46 authored by Kalle Kietäväinen's avatar Kalle Kietäväinen Committed by Anas Nashif
Browse files

tests: kernel: metairq: Ensure meta-IRQ can preempt a cooperative thread



The intention of the test is to have a meta-IRQ preempt a cooperative
thread, then ensure the same cooperative thread is resumed back to instead
of a higher priority thread. Thus, the test needs to assert that the lower
priority cooperative thread is not yet complete when it makes the higher
priority thread ready to run.

This change reveals bugs like #80574, where the meta-IRQ is unable to
preempt a cooperative thread.

Signed-off-by: default avatarKalle Kietäväinen <kalle.kietavainen@silabs.com>
(cherry picked from commit 52b8e3d3)
parent e011c605
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment