Am 18.04.2015 um 11:07 schrieb Alexander Holler:
Am 17.04.2015 um 23:17 schrieb William Hermans:
Have you tried using strace on your executable to see what is happening
behind the scenes ?
Besides that I don't see any C++ in the below C code, it's obviously the
same problem as so often if people are doing their first steps with
read(), select() and similar. ;)
I suggest to read up about O_NONBLOCK in order to avoid all the problems
if blocking I/O calls are handled wrong.
To give a hint, just because select() returned without a timeout doesn't
mean read() will not block.
Alexander Holler
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.