openharmony_kernel_liteos_m/testsuites/sample/kernel/swtmr
JerryH ecce17ea48 fix: 解决定时器超时但还在队列中无法删除的问题
利用每次创建时,软件定时器timerId都是唯一的(0~0xffffffff循环),在超时写队列时,同时记录软件定时器id,删除的时候更新软件定时器id,那么在处理软件定时器前,
通过队列中记录的id获取软件定时器控制块,如果控制块的id不等于记录的id,那么说明该软件定时器被删除过,将不执行对应回调函数,表现为删除该定时器。

BREAKING CHANGE: SwtmrHandlerItem结构体新增swtmrID字段,用于标识超时队列中软件定时器id

Close #I4LFVD

Signed-off-by: JerryH <huangjieliang@huawei.com>
Change-Id: I716176f177c4bc07adb348936d5568fbadcbebe7
2021-12-08 15:27:49 +08:00
..
BUILD.gn chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr.h fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_001.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_002.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_003.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_004.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_005.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_006.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_007.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_008.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_009.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_010.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_011.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_012.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_013.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_014.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_015.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_016.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_017.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_018.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_019.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_020.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_021.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_022.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_023.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_024.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_025.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_026.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_027.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_029.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_030.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_031.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_032.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_033.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_034.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_035.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_036.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_037.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_038.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_039.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_040.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_041.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_042.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_043.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_044.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_045.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_046.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_047.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_048.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_049.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_050.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_051.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_052.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_053.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_054.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_055.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_056.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_057.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_058.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_059.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_060.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_061.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_062.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_063.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_064.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_065.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_066.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_067.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_068.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_069.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_071.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_072.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_073.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_074.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_075.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_076.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_077.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_078.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_079.c fix: 解决定时器超时但还在队列中无法删除的问题 2021-12-08 15:27:49 +08:00
It_los_swtmr_Align_001.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_002.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_003.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_004.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_005.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_006.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_007.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_008.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_009.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_010.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_011.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_012.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_013.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_014.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_015.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_016.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_017.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_018.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_019.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_020.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_021.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_022.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_023.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_024.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_025.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_026.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_027.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_028.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_029.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_030.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Align_031.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Delay_001.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Delay_003.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Delay_004.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00
It_los_swtmr_Delay_005.c chore: fix typo: testsuits --> testsuites 2021-10-21 21:39:32 +08:00