nuttx/drivers/pipes
Xiang Xiao 3cb259daa6 drivers/Kconfig: Move if/endif to subfolder Kconfig
Move if/endif to subfolder Kconfig and make ARCH_HAVE_XXX option always selectable by moving out of if/endif
2020-02-08 08:04:05 -06:00
..
fifo.c Merged in raiden00/nuttx_sim (pull request #1047) 2019-10-11 08:03:44 +00:00
Kconfig drivers/Kconfig: Move if/endif to subfolder Kconfig 2020-02-08 08:04:05 -06:00
Make.defs Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
pipe_common.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -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 Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00