Commit Graph

116 Commits

Author SHA1 Message Date
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
Meco Man 3f9b3f57ea update 2021-01-05 09:20:53 +08:00
Meco Man cd6ca24f88 update 2021-01-04 22:34:50 +08:00
Meco Man 234f1aec99 update 2021-01-03 23:41:07 +08:00
Meco Man 661f54d1e0 update 2021-01-03 23:28:15 +08:00
Meco Man 89cf5886aa add rt_mb_urgent() and rt_mb_urgent_wait() 2021-01-03 06:19:14 +08:00
Meco Man 3d5e79248d [kernel] 对IPC中减减进行摸排,防止出现减出一个很大的数 2020-12-29 00:49:18 +08:00
tmmdh 55c0a9f279 fix the conflicting file. 2020-10-25 11:54:06 +08:00
mysterywolf 98f0cfbf6e define maximum value of ipc type 2020-10-23 01:04:06 +08:00
mysterywolf b43f7365a4 [bug fixed] add mb mq value overflow-check code 2020-10-22 07:13:49 +08:00
mysterywolf b93b494239 [bug fixed] add mutex values' overflow-check code 2020-10-21 17:15:43 +08:00
mysterywolf 2469335e21 [fix bug] #3951 2020-10-11 17:54:39 +08:00
Bernard Xiong c0d78d4f88
Merge pull request #3773 from ErnestChen1/event_option0717
[modify] if ... else if constructs to be terminated with an else clau…
2020-08-03 21:41:13 +08:00
Bernard Xiong 70142efbf2
Merge pull request #3775 from ErnestChen1/event_goto
[add] a macro to be isolated while using signals in rt_mutex_take fun…
2020-08-03 21:19:30 +08:00
Bernard Xiong 65d4e732cc
Merge pull request #3774 from ErnestChen1/switch_default0727
[add] switch default clause
2020-08-03 21:14:09 +08:00
Meco 1fe077a0be fix在rt_event_recv函数中,如果事件已经满足无需阻塞的情况下,没有给thread->event_set/event_info赋值的问题 2020-07-29 09:57:32 +08:00
chenchaoqun a78c6bedea [add] a macro to be isolated while using signals in rt_mutex_take function. 2020-07-27 14:01:30 +08:00
chenchaoqun 55cfefd90a [add] switch default clause 2020-07-27 11:50:48 +08:00
chenchaoqun b328c1cbac [modify] if ... else if constructs to be terminated with an else clause, which other option is invalid and delete surplus space. 2020-07-27 11:38:46 +08:00
greed-island 08c15f1b11
Update ipc.c
程序的分支逻辑出错。
详见修改。
2020-03-31 23:54:41 +08:00
Bernard Xiong 992d3af3ae [kernel] code and comments cleanup 2019-12-16 13:59:46 +08:00
tangyuxin 255825835e [kernel][ipc] 修复创建0长度的消息队列宕机问题 2019-09-27 14:21:52 +08:00
tangyuxin e4671d2916 [kernel][ipc] add send wait support for message queue 2019-09-19 10:10:02 +08:00
iglencao 37de4d6054 Create IPC.ipch
这里注释应该由semaphore改为mutex
2019-08-10 22:45:00 +08:00
tyx c8e27adf1f [src][ipc]完善 message queue 相关定义 2019-07-09 21:34:56 +08:00
tyustli d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00