guo
68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 ( #6740 )
...
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
guo
ecf2d82159
sync branch rt-smart. ( #6641 )
...
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Bernard Xiong
34c77da153
[Kernel] Add nested mutex feature
2022-10-15 16:19:13 +08:00
Ylne
bfa357958d
[kernel] 当tick为0时rt_thread_sleep不应该挂起线程
2022-08-31 13:57:43 +08:00
Ylne
069086ae28
[kernel] 为rt_thread_sleep添加上下文检查
2022-08-31 13:56:49 +08:00
xiangxistu
e61d05ca1a
[fix] the risk for function exit() when open pthread support. ( #6229 )
...
* [fix] the risk for function exit() when open pthread support.
* [update] modify annotation from "user data" to "pthread_data".
2022-08-07 23:16:17 -04:00
Jianhui Zhao
20029456d3
[fix] remove the executable permission of thread.c ( #6001 )
...
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-06-02 06:58:48 +08:00
Man, Jianting (Meco)
1bdde74343
[kernel] update comments for rt_thread_suspend ( #5887 )
...
* [kernel] update comments for rt_thread_suspend
2022-04-29 14:46:28 +08:00
Man, Jianting (Meco)
62d2403ebe
[kernel] beautify code ( #5890 )
2022-04-29 08:59:53 +08:00
Man, Jianting (Meco)
6295ec108e
[kernel] remove the register keyword ( #5888 )
2022-04-29 06:34:42 +08:00
thewon86
f5b0bfd3f4
uniform code writing-disable interrupt
2022-04-20 14:22:43 +08:00
Man, Jianting (Meco)
fa8c4bcaa2
[kernel][thread.c] remove duplicated clear to 0 ( #5659 )
2022-03-11 17:24:53 +08:00
Chester guo
01b3a34cc6
[Fix bug] fix thread init bug ( #4891 )
...
When we create thread A by rt_thread_init but do
not init the thread object,and then create thread
B in the thread A,it maybe crash.
2022-02-17 00:44:37 +08:00
thewon86
4db9cfbebe
return thread error when resumed by signal
2022-01-25 13:58:33 +08:00
Meco Man
65ecca80ee
[kernel] improve comments
2022-01-20 20:58:46 +08:00
Meco Man
3ac9eece5a
[kernel] rt_thread_suspend/resume增加注释
2022-01-14 22:59:19 +08:00
Man, Jianting (Meco)
c6852aa306
Merge branch 'master' into removeinit
2022-01-10 14:25:46 -05:00
Gabriel Wang
d7b8cf81e6
move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure files
2022-01-07 23:35:44 +00:00
Meco Man
e6cd32a1ad
[kernel] 将rt_thread_timeout设置为私有函数
2021-12-30 01:30:21 +08:00
Meco Man
f1ba7c65ad
[kernel] rt_thread_suspend增加断言
2021-12-30 01:27:54 +08:00
Meco Man
1f2e93f1a3
[kernel] remove .init_priority
2021-12-27 20:34:35 -05:00
guo
1e03864fcb
Merge pull request #5278 from thewon86/master
...
remove duplicate work between idle and thread_exit
2021-12-10 18:55:10 +08:00
Bernard Xiong
7c012afdf8
Merge pull request #5314 from GuEe-GUI/master
...
fixup .bss size define in link.lds and set spsel=1 in aarch64
2021-12-01 09:18:50 +08:00
GuEe-GUI
efbdbc2636
fixup .bss size define in link.lds and set spsel=1 in aarch64
2021-11-30 11:14:17 +08:00
thewon86
5ae6b54e21
remove duplicate work between idle and thread_exit
2021-11-26 09:13:18 +08:00
mazhiyuan
99e9ea61bc
修复部分bsp编译报错
2021-10-13 11:02:01 +08:00
liukangcc
202b23371d
[update] thread.c api annotation.
2021-09-13 13:58:18 +08:00
liukangcc
48c7a455e6
[update] src/thread.c function description.
2021-09-10 18:18:37 +08:00
Meco Man
67f2f323a2
[kernel] 规范内部函数命名
2021-08-06 15:20:27 +08:00
fenghuijie
0015af02e4
调整代码,以支持cpu usage
2021-07-05 18:33:22 +08:00
fenghuijie
05bb1a50b0
添加idle回收资源的修改
2021-07-03 17:54:58 +08:00
Meco Man
8b53609f57
[kernel] 补充endif后缀注释(3)
2021-06-10 18:39:43 +08:00
Meco Man
039d7979d8
[kernel][thread.c] 规范内部函数命名方式
2021-05-29 17:30:18 +08:00
tangyuxin
d936746806
[kernel] Improve kernel stability
2021-05-28 10:28:00 +08:00
Bernard Xiong
ca8056072d
Merge pull request #4329 from liruncong/delay_until_3
...
修正rt_thread_delay_until时间不准问题
2021-03-11 15:26:06 +08:00
Meco Man
678306d300
[kernel]auto formatted
2021-03-08 11:25:38 +08:00
liruncong
5ce889ea82
撤销有符号比较,仍应使用无符号比较
2021-03-04 19:33:28 +08:00
张世争
72d7f6c0ad
[update][kernel]规范rt_object_t强制转换的使用,消除上次提交的编译警告
2021-02-28 12:00:44 +08:00
张世争
62137eec9a
[update][kernel]规范rt_object_detach的使用
2021-02-26 10:38:31 +08:00
Meco Man
2b98ac215a
[kernel] rearrange rt_thread_control() - schedule the thread when close it
2021-02-24 16:29:43 +08:00
liruncong
302f179c85
修正rt_thread_delay_until时间不准问题,及错误使用无符号比较问题
2021-02-09 23:18:45 +08:00
Bernard Xiong
a174881e0b
Merge pull request #4209 from jesven/cleanup
...
cleanup操作改由当前线程退出前执行
2020-12-31 14:43:45 +08:00
shaojinchun
5957e15754
cleanup操作改由当前线程退出前执行
2020-12-31 10:31:06 +08:00
bernard
b4e57db1a8
[kernel] Use object_find to implement thread_find/device_find
2020-12-31 09:47:55 +08:00
Bernard Xiong
0776b36a4f
[Kernel] fix the delay_until issue
2020-10-22 22:44:58 +08:00
Bernard Xiong
aeff91b2a7
Merge pull request #3769 from jesven/fix_yield
...
解决yield操作不能及时释放cpu的问题
2020-10-01 15:46:10 +08:00
chenchaoqun
c15a7858c9
[fix] thread control bug about RT_THREAD_CTRL_CLOSE command
2020-09-02 15:04:42 +08:00
shaojinchun
3ed84b8d03
解决yield操作不能及时释放cpu的问题
2020-07-24 21:13:56 +08:00
cliff-cmc
7471a665db
Update thread.c
2020-05-25 08:43:13 +08:00
Cliff Chen
240961e8e8
[Kernel] Fix double release for thread
...
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-05-15 18:31:34 +08:00