Shell
71560bafb5
🎯 Sync smart & scheduler codes ( #8537 )
...
Signed-off-by: Shell <smokewood@qq.com >
Co-authored-by: xqyjlj <xqyjlj@126.com >
2024-02-23 17:49:15 +08:00
Meco Man
2748a6ada4
[kernel] fix some strict compiling warnings
2024-02-19 01:56:21 -05:00
xqyjlj
6b6d39d716
✨ feat: delete thread ref ( #8456 )
2024-01-05 17:03:55 +08:00
xqyjlj
92bd28f22b
🐞 fix(thread): fix thread sleep (deadlock)
2024-01-02 21:09:54 +08:00
Shell
e7880a9713
[kernel] support for hook list
...
Signed-off-by: Shell <smokewood@qq.com >
2024-01-02 19:42:46 +08:00
xqyjlj
48c78ba4e0
🐞 fix: fix rt_thread_delay, assert, deadlock ( #8366 )
2023-12-27 20:36:39 +08:00
xqyjlj
d0dec5cbf2
🐞 fix(thread): fix thread_exit/detach/delete ( #8365 )
2023-12-24 20:04:41 +08:00
geniusgogo
20a4d0939a
Fix softtimer resume ( #8393 )
2023-12-24 19:55:04 +08:00
Yuqiang Wang
8997db911f
[kernel] release mutex when thread delete ( #8345 )
2023-12-07 22:32:53 +08:00
skychen123
4ffc3a4a45
release mutex when thread delete
2023-12-06 14:10:33 +08:00
tangzz98
acc66c5479
实现MPU抽象层 ( #8080 )
...
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
xqyjlj
3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable ( #8042 )
...
Signed-off-by: Shell <smokewood@qq.com >
Co-authored-by: Shell <smokewood@qq.com >
2023-10-25 20:31:25 +08:00
geniusgogo
ecd29fda60
Sync dfs lwp ( #8123 )
2023-10-17 13:07:59 +08:00
Shell
c25e9be6ad
[src] remove useless codes in kernel
...
Signed-off-by: Shell <smokewood@qq.com >
2023-09-15 08:53:45 -04:00
Shell
58e0ddf287
[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 ( #7828 )
...
Signed-off-by: Shell <smokewood@qq.com >
2023-07-20 00:02:41 +08:00
Meco Man
237bbfd968
[debug] remove RT_DEBUG_xxx
...
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-07-09 00:19:29 -04:00
Shicheng Chu
e2c031643c
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h ( #7750 )
2023-06-29 11:24:25 -04:00
Fan Yang
48557de148
[include][src] Add API to get object name and thread name ( #7507 )
...
Signed-off-by: Fan YANG <fan.yang@hpmicro.com >
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com >
2023-05-17 17:40:18 +08:00
半吊子内核开发
442330cc54
[kernel][src] improve code ( #7367 )
2023-05-17 07:36:24 +08:00
Pikachu
1dac7db9cd
[HUST CSE][kernel][thread] 变量 rt_err 没有初始化 ( #7401 )
2023-04-28 19:33:37 -04:00
Shicheng Chu
93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object ( #7131 )
2023-04-04 09:06:27 -04:00
tuduweb
9fbf63441e
[doxygen] Fix some warnings in doxygen ( #6899 )
2023-02-02 21:00:58 -05:00
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