nuttx/drivers/pipes
wangchen 6a267fe019 drivers/pipes:add PIPEPOLICY_0 check in pipecommon_read & pipecommon_write.
From the current implementation,udp localsoket receiver's pipe is closed, the sender write failed in the pipe;
we change the implementation to check if buffer is free(PIPE_IS_POLICY_0),if not free,the sender could write in the pipe;

From the current implementation,udp localsoket sender's pipe is empty,the recevier directly return end of file;
we change the implementation to check if buffer is free(PIPE_IS_POLICY_0),if not free,the receiver wait for data

Signed-off-by: wangchen <wangchen41@xiaomi.com>
2024-08-23 16:14:39 -03:00
..
CMakeLists.txt
fifo.c
Kconfig
Make.defs
pipe_common.c drivers/pipes:add PIPEPOLICY_0 check in pipecommon_read & pipecommon_write. 2024-08-23 16:14:39 -03:00
pipe_common.h pipes: use priv refs instead of inode to resolve memleak 2024-08-23 16:14:39 -03:00
pipe.c pipes: use priv refs instead of inode to resolve memleak 2024-08-23 16:14:39 -03:00