summaryrefslogtreecommitdiff
path: root/src/ipc.c
AgeCommit message (Collapse)Author
2020-12-29[kernel] 对IPC中减减进行摸排,防止出现减出一个很大的数Meco Man
2020-10-23define maximum value of ipc typemysterywolf
2020-10-22[bug fixed] add mb mq value overflow-check codemysterywolf
2020-10-21[bug fixed] add mutex values' overflow-check codemysterywolf
2020-10-11[fix bug] #3951mysterywolf
2020-08-03Merge pull request #3773 from ErnestChen1/event_option0717Bernard Xiong
[modify] if ... else if constructs to be terminated with an else clau…
2020-08-03Merge pull request #3775 from ErnestChen1/event_gotoBernard Xiong
[add] a macro to be isolated while using signals in rt_mutex_take fun…
2020-08-03Merge pull request #3774 from ErnestChen1/switch_default0727Bernard Xiong
[add] switch default clause
2020-07-29fix在rt_event_recv函数中,如果事件已经满足无需阻塞的情况 ↵Meco
下,没有给thread->event_set/event_info赋值的问题
2020-07-27[add] a macro to be isolated while using signals in rt_mutex_take function.chenchaoqun
2020-07-27[add] switch default clausechenchaoqun
2020-07-27[modify] if ... else if constructs to be terminated with an else clause, ↵chenchaoqun
which other option is invalid and delete surplus space.
2020-03-31Update ipc.cgreed-island
程序的分支逻辑出错。 详见修改。
2019-12-16[kernel] code and comments cleanupBernard Xiong
2019-09-27[kernel][ipc] 修复创建0长度的消息队列宕机问题tangyuxin
2019-09-19[kernel][ipc] add send wait support for message queuetangyuxin
2019-08-10Create IPC.ipchiglencao
这里注释应该由semaphore改为mutex
2019-07-09[src][ipc]完善 message queue 相关定义tyx
2019-06-18fix kernel and framework no cast type errortyustli
2019-05-09[Kernel] code cleanup for indentation.Bernard Xiong
2019-04-24semaphore结构中value仍改为uint16_t,加入对其设置范围的检测� ↵shaojinchun
�加入对齐变量
2018-10-26[Kernel] Add 64bit CPU support.Bernard Xiong
2018-09-25[Kernel] Adjust the copyright informationBernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-07-11[kernel] add assert to ipc objectliang yongxiang
2018-06-10[Kernel] Remove memory ops when SLAB and module enableBernard Xiong
2018-05-18[src/ipc.c]adjust rt_event_send() hook function ↵guozhanxin
position|调整rt_event_send()钩子函数位置
2017-10-15[Kernel] Add signal implementation.bernard
1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int';
2017-09-29Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2017-09-29[Kernel] mutex can be used before scheduler startup.bernard
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2015-11-23Sorry, fix missed, related #590.pathletboy
2015-11-23fix code indent.pathletboy
2015-11-22add document.pathletboy
2015-11-21allow parameter "recved" can be null in function "rt_event_recv"pathletboy
2013-10-14kernel: mutex could only be released in thread contextGrissiom
Mutex has the idea of ownership, only the thread which owns the mutex can release it. So rt_mutex_release could only be called in thread context. Add a debug guard to it.
2013-10-11kernel: add RT_DEBUG_IN_THREAD_CONTEXTGrissiom
In thread context means: 1) the scheduler has been started; 2) not in interrupt context. It is more stronger than RT_DEBUG_NOT_IN_INTERRUPT. With this commit, you will catch the error on situations like taking mutex before scheduling instead of crashing on NULL pointer reference.
2013-09-14rt_event_recv: add a check on the option flagGrissiom
Either RT_EVENT_FLAG_AND or RT_EVENT_FLAG_OR should be set in the option flag. If none of them is present, the waiting thread will never be resumed.
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-04-25add RT_KERNEL_MALLOC/FREEBernard Xiong
2012-12-25fixed the coding style in ipc.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2520 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20fixed the coding style of RT_DEBUG_LOG[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24adjust the coding style in src/ipc.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2302 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22move src\kservice.h to include\rtservice.h.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22add RT_PRINTF_PRECISION in kservice.c; fix re-schedule issue in IPC control ↵[email protected]
function. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2003 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17unify the coding style of kerneldzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31cleanup some comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1898 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-29 add more parameters checking in message queue[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1888 bbd45198-f89e-11dd-88c7-29a3b14d5316