nuttx/drivers/pipes
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
fifo.c Merged in raiden00/nuttx_sim (pull request #1047) 2019-10-11 08:03:44 +00:00
Kconfig SPI driver: Correct return value in case of a certain error condition 2016-08-06 08:07:30 -06:00
Make.defs CONFIG_NFILE_DESCRIPTORS=0 can no longer be used to disable the file system. NuttX with no file system does not make sense. 2019-02-11 12:09:26 -06:00
pipe_common.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pipe_common.h drivers/pipes: Use inode reference counter instead of device reference counter to handle dup(). I found that if I dup() a pipe, the reference counter d_refs is not increased. If I close any of the fd, backed by the same pipe, the pipe will be freed. This causes any further usage on the fd referencing a non existent pipe. This change uses the inode reference counter, which is properly maintained during dup(). 2019-08-06 07:31:57 -06:00
pipe.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00