This website requires JavaScript.
Explore
Help
Register
Sign In
sergiotarxz
/
nuttx
Watch
1
Star
0
Fork
0
You've already forked nuttx
Code
Issues
Pull Requests
Releases
Wiki
Activity
6c2f73774b
nuttx
/
drivers
/
pipes
History
Yang ChungFan
4db8c826d7
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
..
fifo.c
Squashed commit of the following:
2019-05-21 18:57:54 -06: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
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_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
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