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
5ffb1c6a0b
nuttx
/
drivers
/
pipes
History
spiriou
65bb956e5e
pipe: check for writers first in case of pipe empty
2020-09-21 19:30:21 -07:00
..
fifo.c
Rename pipe2/mkfifo2 to nx_pipe/nx_mkfifo
2020-05-04 07:20:02 -06:00
Kconfig
drivers/*/Kconfig: Consolidate driver Kconfig Files.
2020-02-15 15:19:11 +01:00
Make.defs
Remove exra whitespace from files (
#189
)
2020-01-31 09:24:49 -06:00
pipe_common.c
pipe: check for writers first in case of pipe empty
2020-09-21 19:30:21 -07: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
libs/libc/unistd: Implement pipe2(2) syscall
2020-09-18 20:01:26 -07:00