julianoes commented on issue #4037:
URL: 
https://github.com/apache/incubator-nuttx/issues/4037#issuecomment-1324465989

   I believe I'm seeing the same thing using socketcan. I'm trying to use 
`poll` to check if there is data available, however, that seems to check the Tx 
poll, rather than - what I'd imagine - an Rx poll.
   
   I was assuming `poll` would be working because the 
[candump.c](https://github.com/apache/incubator-nuttx-apps/blob/fd22b6372255e642617d9d95275df240e8d31fea/canutils/candump/candump.c#L621)
 example uses `select()`.
   
   What I see happen in the candump example is that it often gets stuck in 
`recvmsg` after `select` triggers because there is actually no data available.


-- 
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