Meco Man
d6d84ed055
[kernel][pm] beautify code
2022-01-17 19:07:17 -05:00
guo
0f77fab0a1
Merge pull request #5510 from Eureka1024/master
...
[kernel]Delete an extra semicolon
2022-01-12 09:53:38 +08:00
杨澄
eab086122e
[kernel]Delete an extra semicolon
2022-01-11 21:25:08 +08:00
thewon86
5ae6b54e21
remove duplicate work between idle and thread_exit
2021-11-26 09:13:18 +08:00
yangjie
5de6996670
[kernel]update format
2021-09-10 17:51:52 +08:00
yangjie
a912a2f88f
[kernel]Normalized kernel API annotation
2021-09-10 17:31:31 +08:00
Bernard Xiong
054f6db3e6
Merge pull request #4760 from mysterywolf/Internafunction
...
[kernel] 规范内核内部函数命名
2021-08-05 16:57:16 +08:00
Meco Man
c10678c1f0
内部函数以_开头
2021-08-04 10:53:17 +08:00
fenghuijie
05bb1a50b0
添加idle回收资源的修改
2021-07-03 17:54:58 +08:00
Meco Man
24b4b6cbb9
[kernel]补充endif后缀注释
2021-06-10 01:48:17 +08:00
Meco Jianting Man
e7097118d2
Merge pull request #49 from RT-Thread/master
...
update
2021-06-08 10:53:18 +08:00
Meco Man
076941612a
[kernel] 规范内核内部函数命名
2021-06-04 00:34:27 +08:00
Meco Man
5a6bc99006
[bug][kernel] 保持空闲任务钩子函数调用的原子性
2021-06-03 19:05:36 +08:00
Meco Jianting Man
c58d893c1a
[kernel][idle] _has_defunct_thread函数增加条件编译
...
_has_defunct_thread函数增加条件编译,防止没有开启heap时报警
2021-05-22 17:21:42 +08:00
Meco Man
678306d300
[kernel]auto formatted
2021-03-08 11:25:38 +08:00
shaojinchun
5957e15754
cleanup操作改由当前线程退出前执行
2020-12-31 10:31:06 +08:00
LinJieqiang
d16d78c53e
fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE"
2019-09-05 08:33:12 +08:00
tangyuxin
6a170ddbe4
[src][idle] 修复一处编译警告
2019-07-13 09:30:23 +08:00
EvalZero
c57f2370ad
[components][pm]improve low power management components
2019-05-06 18:17:55 +08:00
Bernard Xiong
25988d30d9
[Kernel] Add thread detach for system thread
2019-02-07 23:49:46 +08:00
Bernard Xiong
d266d681a1
[kernel] Fix the 64bit issue for idle thread cpu binding.
2018-12-24 09:07:56 +08:00
shaojinchun
94a2e751a5
修正idle.c中一处宏定义位置
2018-11-22 22:06:02 +08:00
shaojinchun
fc6bc1ad39
Add smp support to RT-Thread 4.0
2018-11-22 18:16:47 +08:00
Bernard Xiong
ff08faf605
[Kernel] Adjust the copyright information
2018-09-25 11:06:07 +08:00
Bernard Xiong
41f7f2c284
[Kernel] Update to Apache License v2.0
...
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
Bernard Xiong
efe4523132
[Kernel] move module tolibc/libdl.
2018-08-30 20:27:45 +08:00
armink
d37c289b56
[kernel][idle] Improve rt_thread_idle_sethook and rt_thread_idle_delhook code.
2018-07-14 14:04:08 +08:00
armink
e9c165034e
[kernel][idle] Add idle hook list.
2018-07-13 10:02:27 +08:00
Bernard Xiong
df64a297ab
[Kernel] Remove memory ops when SLAB and module enable
2018-06-10 18:46:11 +08:00
Bernard Xiong
682da9b249
[Kernel] Remove object container in module feature.
2018-06-10 17:56:02 +08:00
Bernard Xiong
55e2fabbc5
[kernel] lock scheduler when cleanup thread
2018-02-07 19:55:35 +08:00
bernard
b27c7e4826
[Kernel] Add signal implementation.
...
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
2017-10-15 22:31:53 +08:00
emlslxl
e521decf2e
根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化
2017-09-15 11:02:24 +08:00
bernard
279fac7cbb
[Kernel] Change RT_USING_IDLE_HOOK as simple definition.
2017-06-07 09:24:22 +08:00
geniusgogo
05052127c3
Update idle.c
2017-05-23 11:04:22 +08:00
geniusgogo
3c14a8867d
Update idle.c
2017-05-22 23:53:55 +08:00
geniusgogo
662f619cf6
Update idle.c
2017-05-16 10:42:29 +08:00
xieyangrun
e05186dd95
separate idle hook
2017-05-16 10:02:19 +08:00
ArdaFu
189e9b9632
[Kernel] add new hooks for support trace componment.
2016-08-09 11:29:11 +08:00
bernard
3b5c2e2f9f
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-09-11 12:55:18 +08:00
bernard
ab786679c7
[Kernel] comments clean up.
2014-09-11 12:50:41 +08:00
Grissiom
d4133990b0
kernel/idle: fix rt_thread_idle_excute in high optimization level
...
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.
2014-09-02 17:21:31 +08:00
Grissiom
04f432f47b
kernel: let rt_thread_idle_excute loop until there is no dead thread
...
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-12-21 11:31:40 +08:00
Bernard Xiong
79392bb082
Embedded GPLv2 license.
2013-06-24 17:06:09 +08:00
Bernard Xiong
4afdf44da2
add RT_KERNEL_MALLOC/FREE
2013-04-25 14:22:07 +08:00
bernard.xiong@gmail.com
975610477e
Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as system default memory heap.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 12:29:03 +00:00
dzzxzz@gmail.com
9f348578e7
fixed the coding style in idle.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20 07:55:05 +00:00
bernard.xiong@gmail.com
ee11663d87
remove rt_current_module and user can use rt_module_unload to remove a module.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 14:24:22 +00:00
dzzxzz@gmail.com
f19d8aa591
change the return type of function rt_object_is_systemobject()
...
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-06-02 09:20:19 +00:00
bernard.xiong@gmail.com
d82a8cce21
fixed module unload issue; code cleanup for timer.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2119 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-16 06:18:58 +00:00