summaryrefslogtreecommitdiff
path: root/src/timer.c
AgeCommit message (Collapse)Author
2021-08-31[fix][kernel][timer]fixed timer ASSERT exception due to multithreaded schedulingWillianChan
Signed-off-by: WillianChan <[email protected]>
2021-08-30fix the returnsupperthomas
2021-08-28add the fixed commentsupperthomas
2021-08-17[kernel][timer] 规范内部函数和变量命名Meco Man
2021-08-16add the formatted filesupperthomas
2021-08-15add the comment of timer.csupperthomas
2021-06-10[kernel] 补充endif后缀注释(3)Meco Man
2021-05-25[src]移除 C99 依赖yangjie
2021-03-08[kernel]auto formattedMeco Man
2021-02-28[update][kernel]规范rt_object_t强制转换的使用,消除上次提交� ↵张世争
��编译警告
2021-02-26[update][kernel]规范rt_object_detach的使用张世争
2020-12-18Merge pull request #4112 from enkiller/1203-0940Bernard Xiong
[timer] Fix the bug that the linked list is still mounted when the si…
2020-12-03[timer] Fix the bug that the linked list is still mounted when the single ↵tangyuxin
timer is not modified
2020-11-27Fixed an issue with rt_timer_start being broken and destroying the timer listguozhanxin
2020-09-30[kernel] fix the timer issueBernard Xiong
2020-08-15fixed the iterator failure for softtimer list timeout check.xieyangrun
2020-07-27[add] switch default clausechenchaoqun
2020-04-10[kernel] Remove named comments.Bernard Xiong
2020-02-07给软件定时器增加定时器工作状态查询的功能longtengmcu
2020-01-15[src/timer.c]fixed rt_timer_list_next_timeout multi-task safexieyangrun
2019-01-13[Kernel] Enable RUNNING status in thread.Bernard Xiong
2018-11-13[kernel]Change 'rt_timer_timeout_hook' function to 'rt_timer_enter_hook' and ↵guozhanxin
add 'rt_timer_exit_hook' hook function.
2018-09-25[Kernel] Adjust the copyright informationBernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-08-23[src][timer.c]:modify -RT_EOK to RT_EOKyangjie
2018-07-11[kernel] add assert to timer objectliang yongxiang
2018-03-01[Kernel] add sigwait implementationBernardXiong
2017-10-15[Kernel] Add signal implementation.bernard
1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int';
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2014-10-14kernel/timer: change row_lvl to unsignedGrissiom
Use signed int as array index is unsecure.
2014-07-16src/timer: fix a compile warningGrissiom
2014-07-12[Kernel] system does not lock scheduler when invoking soft-timer timeout ↵bernard
function.
2013-10-19kernel: timer: fix compiling bug in d59aa279c37b7Grissiom
2013-10-12kernel: use skip list to implement timer listGrissiom
Skip list is a "random" data structure that in high possibilities it would get O(log(N)) time complexity in inserting while the old list get O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just the same as the old double linked list, both in time and space complexity. Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average time of random insertion of new timer is about 2 times faster than the old timer when there are 100 timers and 3 times faster when there are 200 timers. However, it restores the deprecated funcion rt_system_timer_init. BSPs must invoke it upon system startup.
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-01-17more deterministic on timerGrissiom
If two timer will timeout at the same tick, the one started later will be called later. I've tested the patch on simulator and it _seems_ OK. Reported-by: xdzy on the forum and delin17 <[email protected]>
2012-12-18fixed the coding style[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2493 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-15fix the next timeout issue in soft timer[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-08Fixed timer control issue. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2323 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02unify coding style in timer.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2149 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-16fixed module unload issue; code cleanup for timer.c [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2119 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-05remove soft timer tick increase[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2108 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14cleanup code comments and deprecate rt_system_timer_init function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2045 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22move src\kservice.h to include\rtservice.h.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17unify the coding style of kerneldzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21cleanup kernel codedzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12Add reentrance check. Put kernel debug switch together.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316