Commit Graph

141 Commits

Author SHA1 Message Date
Shicheng Chu e2c031643c
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750) 2023-06-29 11:24:25 -04:00
zhkag e65509a58e
[src][components][include]消息队列支持优先级 (#7382) 2023-06-26 00:06:06 -04:00
guo 8d2072de55
[kernel]add api rt_hw_interrupt_is_disabled (#7706) 2023-06-21 22:42:50 +08:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
Shicheng Chu 93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
Shell 64cd64baf9
[mutex] mutex may suspend a thread already suspended & fix ceilingprio (#7046)
* [fix] reinsert should not suspend twice

* [mutex] fix prioceiling

* [mutex] fix prioceiling
2023-03-13 19:21:41 +08:00
tuduweb 9fbf63441e
[doxygen] Fix some warnings in doxygen (#6899) 2023-02-02 21:00:58 -05: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
Man, Jianting (Meco) e9a2dc0e02
Update src/ipc.c 2022-10-25 23:39:03 -04:00
Bernard Xiong 63b97db64a [Kernel] Remove the debug definition for mutex 2022-10-17 08:01:48 +08:00
Bernard Xiong e645c95eb8 [Kernel] Trim trailing spaces in ipc.c 2022-10-16 18:23:26 +08:00
Bernard Xiong 6823a5110b [Kernel] Add prioceiling feature in mutex 2022-10-16 17:58:51 +08:00
Bernard Xiong 34c77da153 [Kernel] Add nested mutex feature 2022-10-15 16:19:13 +08:00
Tangyuxin a4829b1c00
[fix] Fix simulator compilation warnings (#6438)
* [fix] Fix simulator compilation warnings

* Update bsp/simulator/rtconfig_project.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Man, Jianting (Meco) 6295ec108e
[kernel] remove the register keyword (#5888) 2022-04-29 06:34:42 +08:00
Stanley ef7280826f
correct descriptions (#5849)
* correct descriptions

correct descriptions in ipc.c and timer.c

Co-authored-by: Stanley <stanleylwinn@gmail.com>
2022-04-21 09:35:17 +08:00
thewon86 f5b0bfd3f4 uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
Stanley 2fa40dd602
Fix/parameter name (#5815)
* Update ipc.c

Parameter name standardization

Co-authored-by: Stanley <stanleylwinn@gmail.com>
2022-04-15 15:32:07 +08:00
Stanley d664edd64e Update ipc.c
Resolved feedbacks
2022-04-11 14:06:30 +08:00
Stanley eefc6d7825 Add descriptions
dd descriptions for rt_mq_recv and rt_sem_take timeout parameters
2022-04-11 14:06:30 +08:00
guo 4562ae1246
[kernel] Revert modifications to the semaphore (#5682) 2022-03-17 14:48:14 +08:00
Henson 500d26c257 optimize code 2022-01-26 21:39:06 +08:00
guozhanxin 9b44535740 add RT_DEBUG_SCHEDULER_AVAILABLE check 2022-01-26 16:03:31 +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
Gabriel Wang 6bb9e546de change all double-empty-lines to single-empty-lines 2022-01-08 20:04:43 +00: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
jihongbin eda0df469e [update] Correct some code comments 2021-12-16 18:43:45 +08:00
HelloByeAll a5b684d29c 【更新】删除空行上的tab 2021-10-19 16:50:09 +08:00
wangqinglin 758ef39024 【更新】调整RT_ASSERT和RT_DEBUG_NOT_IN_INTERRUPT,维持代码风格 2021-10-19 10:13:25 +08:00
wangqinglin 4c4f107436 【更新】ipc init/create增加 flag 判断 2021-10-19 09:39:45 +08:00
liukangcc d99737d8a9 [update] functions annotation. 2021-09-18 16:56:44 +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
chenjh 9f3e349f69 [comment] Optimize the comment for ipc 2021-07-09 10:54:51 +08:00
Meco Man 6e334416e3 [ipc][mutex] 补充注释 2021-07-07 10:16:49 +08:00
Meco Man edcdd126ed [kernel][ipc] 移除mutex RT_IPC_FLAG_FIFO 功能 2021-07-07 09:47:09 +08:00
杨澄 ec3c1d4d00
[kernel] Fix comment error for rt_mutex_detach(). 2021-06-23 21:23:07 +08:00
Meco Man e019a57ff3 [kernel] 补充endif后缀注释(2) 2021-06-10 17:58:31 +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 bb848db2a4 解决冲突 2021-06-08 10:49:20 +08:00
Meco Jianting Man 2b6762e859
remove fix priority inversion bug of mutex 2021-06-05 13:05:11 +08:00
Meco Jianting Man bfd8d21e38
Merge branch 'master' into mutexrevert 2021-06-05 13:03:45 +08:00
Meco Man 076941612a [kernel] 规范内核内部函数命名 2021-06-04 00:34:27 +08:00
Meco Man 8b82b83482 [kernel] 增加rt_mutex_trytake 2021-05-30 11:47:33 +08:00
tangyuxin d936746806 [kernel] Improve kernel stability 2021-05-28 10:28:00 +08:00
Meco Man 02331fd30d revert #3647 2021-05-17 21:00:40 +08:00
Meco Man 678306d300 [kernel]auto formatted 2021-03-08 11:25:38 +08:00
tangyuxin be864bcdd1 [ipc] fix IAR Compilation error 2021-02-20 20:44:46 +08:00
tmmdh 9db4d44638 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2021-01-20 18:45:20 +08:00