summaryrefslogtreecommitdiff
path: root/components/drivers/src/pipe.c
AgeCommit message (Collapse)Author
2017-12-31[DeviceDrivers] fix type unknown issue in pipeBernard Xiong
2017-12-31[DeviceDrivers] fix the compiling warning.BernardXiong
2017-12-29[DeviceDrivers] Add device API in pipe device.bernard
2017-11-09[Driver][Pipe]Memory leak issue when close a pipe.JasonJiaJie
There is a memory leak issue when close a pipe.
2017-10-17[libc] Add RT_USING_POSIX macro.bernard
1. Add macro check in rtdebug.h; 2. Use RT_USING_POSIX for poll/select, stdin etc. 3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-16[components][drivers] Check macro "RT_USING_DFS" when using DFS relative ↵ArdaFu
method/functions.
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;
2013-10-23device/pipe: add a control cmd to get the space left in pipeGrissiom
2013-08-20dev/pipe: make pipe a type of deviceGrissiom
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
2013-08-19dev/pipe: cleanupGrissiom
2013-08-19dev/pipe: call rx_indicate the time we resume readerGrissiom
Some reader(FinSh again) would like to block on a semaphore which is released in rx_indicate. So we should invoke rx_indicate in _rt_pipe_resume_reader.
2013-08-19device/pipe: add nonblocking read/write and force write modeGrissiom
The previous implementation will always blocks the reader/writer. However, at least FinSh would expect the device to be nonblocking --- read should return 0 when there is no data in it.
2013-08-19device/pipe: add rt_pipe_{init,detach}Grissiom
This provide the possibility that allocate the buffer of the ringbuffer on a specific region, instead of always mallocing it. It also bring us the benefit of using pipe device on the systems without heap.
2013-06-28Embedded GPLv2 license in driversyiyue.fang
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-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