jihandong commented on PR #6912:
URL: https://github.com/apache/incubator-nuttx/pull/6912#issuecomment-1226715317

   > According to 
https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html:
   > 
   > "A device has been disconnected, or a pipe or FIFO has been closed by the 
last process that had it open for writing. Once set, the hangup state of a FIFO 
shall persist until some process opens the FIFO for writing or until all 
read-only file descriptors for the FIFO are closed."
   > 
   > So, is this correct?
   
   Now in PIPE, if the reader is closed without POLHUP generated, the writer 
cannot know.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to