mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-02 14:23:19 +08:00
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.
20 lines
528 B
Python
20 lines
528 B
Python
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
CPPPATH = [cwd]
|
|
|
|
if GetDepend(['RT_UTEST_LWP', 'RT_USING_SMART']):
|
|
src += ['condvar_timedwait_tc.c', 'condvar_broadcast_tc.c', 'condvar_signal_tc.c']
|
|
|
|
if GetDepend(['RT_UTEST_SCHEDULER', 'RT_USING_SMART']):
|
|
src += ['channel_timeout_tc.c']
|
|
|
|
if GetDepend(['RT_UTEST_LWP_TTY_PTMX', 'RT_USING_SMART']):
|
|
src += ['tty_ptmx_tc.c']
|
|
|
|
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|