summaryrefslogtreecommitdiff
path: root/src/idle.c
AgeCommit message (Collapse)Author
2018-11-22Add smp support to RT-Thread 4.0shaojinchun
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-30[Kernel] move module tolibc/libdl.Bernard Xiong
2018-07-14[kernel][idle] Improve rt_thread_idle_sethook and rt_thread_idle_delhook code.armink
2018-07-13[kernel][idle] Add idle hook list.armink
2018-06-10[Kernel] Remove memory ops when SLAB and module enableBernard Xiong
2018-06-10[Kernel] Remove object container in module feature.Bernard Xiong
2018-02-07[kernel] lock scheduler when cleanup threadBernard Xiong
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目录下的文件代码进行格式化
2017-06-07[Kernel] Change RT_USING_IDLE_HOOK as simple definition.bernard
2017-05-23Update idle.cgeniusgogo
2017-05-22Update idle.cgeniusgogo
2017-05-16Update idle.cgeniusgogo
2017-05-16separate idle hookxieyangrun
2016-08-09[Kernel] add new hooks for support trace componment.ArdaFu
2014-09-11Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2014-09-11[Kernel] comments clean up.bernard
2014-09-02kernel/idle: fix rt_thread_idle_excute in high optimization levelGrissiom
The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)". So the compiler has a good reason that the rt_thread_defunct list does not change within rt_thread_idle_excute thus optimize the "while" loop into a "if". So add the volatile qualifier when test against the rt_thread_defunc list.
2013-12-21kernel: let rt_thread_idle_excute loop until there is no dead threadGrissiom
Out side world is difficult to tell whethere there is dead thread remaining. If rt_thread_idle_excute only do one cleanup, it's hard to finish cleanups outside the idle thread. So let is loop and do all the cleanups in one call.
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-04-25add RT_KERNEL_MALLOC/FREEBernard Xiong
2012-12-29Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as ↵[email protected]
system default memory heap. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20fixed the coding style in idle.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28remove rt_current_module and user can use rt_module_unload to remove a module.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02change the return type of function rt_object_is_systemobject()[email protected]
using rt_bool_t instead of rt_err_t git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 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-04-14cleanup code comments. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2044 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-10-05RT_DEBUG_NOT_IN_INTERRUPT is only executed when rt_thread_defunct is not empty.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1739 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-09-19cleanup code in ipc.c and idle.cdzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1713 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04rewrite module memory allocator[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1618 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
2011-03-04add IDLE_THREAD_STACK_SIZE in rtconfig.hwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30fix compiling issue when RT_USING_HEAP is not defined.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1149 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29update doxygen comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17construct module symbol tableqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-12add cleanup callback function on thread exit; add IPC object reset command.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1043 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28implement module memory allocatorqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26FIX: #endif out of position.mbbill
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@959 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25module updateqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13module updateqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@905 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-05add rt_thread_idle_excute API.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29change the ALIGN definition for IAR compiler.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29module developingqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22fix thread delete issue when module is not used.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@725 bbd45198-f89e-11dd-88c7-29a3b14d5316