summaryrefslogtreecommitdiff
path: root/src/mempool.c
AgeCommit message (Collapse)Author
2025-09-24RT_TIMER_CTRL_SET_TIME only accept rt_tick_t, pass rt_tick_t instead ↵Yonggang Luo
int/rt_int32_t
2025-06-25doxygen: group name all in lowcaseChen Wang
This patch only updated the groups defined in documentation/0.doxygen. Other groups will be moved into documentation/0.doxygen and updated at that time. Signed-off-by: Chen Wang <[email protected]>
2025-02-15doxygen: add prefix for groups (#9991)Chen Wang
* doxygen: add prefix for groups Add "group_" prefix to doxygen group names. This makes it easier to grep with group name later. This patch only modifies the groups defined in the pathes of INPUT of documentation/Doxyfile: INPUT = . \ ../src \ ../include \ ../components/finsh \ ../components/drivers/include/drivers \ ../components/drivers/clk \ ../components/dfs/dfs_v2/src \ ../components/dfs/dfs_v2/include Other groups are not touched. Signed-off-by: Chen Wang <[email protected]> * ci: fixed error report when run file_check.py Such as: - "please delete extra space at the end of this line." - "the RT-Thread error code should return negative value. e.g. return -RT_ERROR" Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2023-12-24🐞 fix(mempool): fix assert (#8364)xqyjlj
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2022-04-29[kernel] remove the register keyword (#5888)Man, Jianting (Meco)
2022-04-20uniform code writing-disable interruptthewon86
2022-01-07move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure filesGabriel Wang
2021-09-11[kernel] update commentsyangjie
2021-09-10[kernel]Normalized kernel API annotationyangjie
2021-06-10[kernel] 补充endif后缀注释(3)Meco Man
2021-03-08[kernel]auto formattedMeco Man
2020-07-23Minor optimization for mempool.cDavid Lin
1. Improve code readability, unify the variable name in functions "rt_hw_interrupt_enable(level);" and "rt_hw_interrupt_enable(level);", so changed variable "temp" to "level";
2019-09-17Merge pull request #3077 from jesven/fix_mempoolBernard Xiong
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-16修正rt_mp_free有可能唤醒一个错误任务指针的问题shaojinchun
2019-07-01[src/mempool.c] add parameter check.|添加参数检查。guozhanxin
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 mempool objectliang yongxiang
2018-06-10[Kernel] Remove memory ops when SLAB and module enableBernard Xiong
2018-04-09[kernel] fixed signed/unsigned mismatch warningliang yongxiang
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2014-08-20kernel: mempool: fix race condition in rt_mp_allocGrissiom
When thread wake up from waiting for memory, there is a chance that there is no memory available in high pressure. So use a loop to check again. Otherwise, there will be a NULL reference.
2014-04-16[mempool] reset the thread->error before suspending threadGrissiom
Time out result and other errors is recorded in thread->error. Dirty error will screw up the error handling code after the thread has been wake up.
2013-06-24Embedded GPLv2 license.Bernard Xiong
2012-12-25fixed coding style in src/mempool.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2525 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-23fix align issue in rt_mp_init and rt_mp_create function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2007 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-17unify the coding style of kerneldzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 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-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-01-24add object allocation check.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1258 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29update doxygen comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28implement module memory allocatorqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-13fix down alignment issue; fix the maximal number of rt_scheduler_lock_nest ↵bernard.xiong
issue; fix rt_tick_from_millisecond issue. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25add license and copyright infobernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-04change mempool hook parameter and fix the name mistake of ↵bernard.xiong
rt_scheduler_sethook function. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@192 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-29fix mempool init bug.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@178 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02import RT-Thread RTOS 0.3.x to Google SVNbernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2 bbd45198-f89e-11dd-88c7-29a3b14d5316