Logo
Explore Help
Register Sign In
Mirrors_Framework/nuttx
1
0
Fork 0
You've already forked nuttx
mirror of https://github.com/apache/nuttx.git synced 2026-06-07 01:05:54 +08:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
4465916c5ec751f911b31dc212536e7d36ab773c
nuttx/drivers/pipes
T
History
raiden00pl df1bcc4229 Merged in raiden00/nuttx_sim (pull request #1047)
drivers/pipes/fifo.c: mkfifo should return -1 and set errno on failure

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-11 08:03:44 +00:00
..
fifo.c
Merged in raiden00/nuttx_sim (pull request #1047)
2019-10-11 08:03:44 +00:00
Kconfig
…
Make.defs
…
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
Fix some typos in comments.
2019-10-11 15:53:17 +08:00
Powered by Gitea Page: 1486ms Template: 8ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API