From ba79f69477686196da1aa1aca3792e8f6c4e3085 Mon Sep 17 00:00:00 2001 From: "ari.liu" <1486344514@qq.com> Date: Fri, 21 Aug 2026 11:16:10 +0800 Subject: [kernel][ipc] Fix timeout wakeup ownership race Keep thread timer ownership when timer stop races with an in-flight timeout callback, and consume IPC resources only after a waiter is resumed successfully. Complete ownership cleanup in the generic and RT-Smart channel timeout callbacks. Add deterministic scheduler and LWP regressions for Event, Semaphore, Mailbox, Message Queue, sender, and receiver paths. --- src/utest/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utest/SConscript') diff --git a/src/utest/SConscript b/src/utest/SConscript index 7a532625d1..52aca3dcf6 100644 --- a/src/utest/SConscript +++ b/src/utest/SConscript @@ -60,6 +60,7 @@ if GetDepend(['RT_UTEST_MEMPOOL']): # Stressful testcase for scheduler (MP/UP) if GetDepend(['RT_UTEST_SCHEDULER']): + src += ['sched_timeout_race_tc.c'] src += ['sched_timed_sem_tc.c'] src += ['sched_timed_mtx_tc.c'] src += ['sched_mtx_tc.c'] -- cgit v1.3.1