tmedicci opened a new pull request, #9244:
URL: https://github.com/apache/nuttx/pull/9244

   ## Summary
   
   As pointed out by https://github.com/apache/nuttx/issues/9241, PR 
https://github.com/apache/nuttx/pull/8985 made pipes and named pipes block when 
opening for `O_WRONLY` or `O_RDONLY`. Local sockets, however, require 
`local_open_client_tx` to be non-blocking to enable the server side to prevent 
the server side from blocking. If set otherwise, it would deadly block. This 
commit sets the FIFO as non-blocking temporarily, open the TX side and, if 
originally blocking - restores it to that state.
   
   ## Impact
   
   Fixes https://github.com/apache/nuttx/issues/9241 and allow using local 
sockets.
   
   ## Testing
   
   `sim:citest` (`pipe`) + `sim:ustream` + `sim:dgram`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to