This website requires JavaScript.
Explore
Help
Sign in
Aksal
/
nuttx
Watch
3
Star
1
Fork
You've already forked nuttx
1
mirror of
https://github.com/apache/nuttx.git
synced
2026-08-06 13:08:59 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
3
cb340cbfdb
nuttx
/
drivers
/
pipes
History
Download ZIP
Download TAR.GZ
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.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.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