summaryrefslogtreecommitdiff
path: root/src/ipc.c
AgeCommit message (Collapse)Author
2019-12-17Sync from master (75a3f3dd3a930eab1dc58fa0258a9d1605a0ac11)armink
2019-05-17Update the kernel and components to master version.armink
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
2011-12-24unify the ipc.c coding style according to the /documentation/coding_style_cn.txtdzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1876 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30clean up comments from [email protected].[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21cleanup kernel codedzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19cleanup code in ipc.c and idle.cdzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1713 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11cleanup ipc code.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1707 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-08fixed the scheduling issue in rt_thread_startup; changed the end of line to ↵bernard.xiong
UNIX style. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1703 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01fixed rt_thread_exit issue if the current thread has been preempted.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1689 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13more updates on previous change[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1627 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13bugfix: thread->error will be changed unexpectedly when sending a mail in ↵[email protected]
interrupt context. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1626 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04rewrite module memory allocator[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1618 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12Add reentrance check. Put kernel debug switch together.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10fix mailbox offset overflow[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09Remove divide instructions.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1477 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08Now, lwip is using blocking mailbox.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1473 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08add a blocking mailbox post function[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04move the setting next pointer to NULL out off interrupt disable.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1450 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-02change the wrong end of line (all of them shall be UNIX end of line). bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1445 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20cleanup scons building script[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-12add cleanup callback function on thread exit; add IPC object reset command.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1043 bbd45198-f89e-11dd-88c7-29a3b14d5316