summaryrefslogtreecommitdiff
path: root/components/drivers/src/ringbuffer.c
AgeCommit message (Collapse)Author
2021-10-13[libc][time] Ensure the data types are consistentMeco Man
2021-08-19Merge pull request #4942 from Jackistang/masterguo
[add] add commets for ringbuffer and workqueue.
2021-08-18Update the comments for ringbuffer and workqueue.Jackistang
2021-08-18Merge pull request #4905 from mysterywolf/rbBernard Xiong
[ringbuffer] rt_ringbuffer_data_len采用局部变量承接,防止出现资源竞争
2021-08-18修改 ringbuffer 和 workqueue 注释的语法Jackistang
2021-08-17fix comments error in ringbuffer and workqueue.Jackistang
2021-08-14format codeJackistang
2021-08-14[ringbuffer] 添加 ringbuffer 的接口注释Jackistang
2021-07-31[ringbuffer] 采用局部变量,防止出现资源竞争Meco Man
2021-07-20bugfix:write_index bug in rt_ringbuffer_put_forcearminker
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-11-22add 'rt_ringbuffer_peak' APImalongwei
2019-06-18fix kernel and framework no cast type errortyustli
2019-01-21[driver/ringbuffer]illegal access to freed memorymisonyo
2018-10-14[license] Change license to Apache.Bernard Xiong
2018-03-25[drivers]Fix put_force bugtangyuxin
2017-10-15[DeviceDrivers] change cmd type.bernard
1. Change 'rt_uint8_t' type of cmd to 'int'; 2. Add waitqueue; 3. Split device ipc header files;
2015-01-23 [Driver/ringbuffer]: Fix put_force bugBright Pan
OXape reports: http://www.rt-thread.org/phpBB3/topic3939.html driver/ringbuffer: when data length is bigger than space length for rb, the read_index in rb is not update. When length > space, update the read_index, the bug can be fix, and works fine.
2013-08-19ringbuffer: add put_force and putchar_force APIGrissiom
Add the APIs that will discard the old data when rb is full.
2013-08-19ringbuffer: fix the ambiguous nameGrissiom
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size of the empty space" or "the size of the data". Moreover, it's never a micro anymore. Change it to rt_ringbuffer_data_len before it's too late. Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-05-08ringbuffer: format the code to a more symmetric structureGrissiom
2013-05-08reimplement ringbufferGrissiom
The new implementation use the mirroring method to distinguish full buffer and the empty buffer. It also support buffers of arbitrary size.
2012-12-26fixed the coding style in components/drivers/src[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2529 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22fixed the coding style in the components/drivers[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-02fixed coding style in component/drivers/src[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2384 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30Remove rt_ringbuffer_get_datasize function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2314 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30Add pipe, data queue implementation; Fix the issue which leaks one item in ↵[email protected]
the available data of ring buffer. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02change rt_memcpy to memcpy in ringbuffer implementation.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23Added device driver's IPC.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2098 bbd45198-f89e-11dd-88c7-29a3b14d5316