Hi,
Marcelo wrote:
Sorry, I need some rationale here...
The original code handled two different error conditions. One is the
case where the read call was interrupted and the other one is "the
rest of them". In the first case the original code simply tries
again. In the second case the original code aborts and goes back to
select to wait for more data. The new code doesn't retry on
interrupt.
I think that if the code is interrupted by a signal just return to the wait_poll
and read again. But maybe the while can be put again.
Michael
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org