OSDN Git Service

Don't wrap select(2) in TEMP_FAILURE_RETRY.
authorElliott Hughes <enh@google.com>
Sun, 26 Sep 2010 23:59:04 +0000 (16:59 -0700)
committerElliott Hughes <enh@google.com>
Sun, 26 Sep 2010 23:59:04 +0000 (16:59 -0700)
commit3c6ca77845ce5f0e80c4dc49617601918023c1ed
treea6f8275d50bb8d0c107a838136bc9c23a9d0e666
parent9920dd5559cbd30ed493826c71920e8aa8257025
Don't wrap select(2) in TEMP_FAILURE_RETRY.

Luckily, since the caller has to cope with us saying "we're not connected yet,
try again", we can just go that route.

I've also added another plausible possible exception to one of the tests, seen
once when testing on a host dalvikvm.

Bug: 3022824
Change-Id: Ia155f86f9f7b9b0a54e58c55f668faaebcbda55e
luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp
luni/src/test/java/libcore/java/net/ConcurrentCloseTest.java