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 am assuming that the original code had to retry because it runs in a
context where it's feasable to be interrupted by a signal (because the
client code sets up a signal, for example).  So, why doesn't the new
code?

Marcelo
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to