harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Wilson <jessewil...@google.com>
Subject Re: svn commit: r829056 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c
Date Mon, 26 Oct 2009 17:14:48 GMT
On Mon, Oct 26, 2009 at 8:26 AM, Oliver Deakin <oliver.deakin@googlemail.com
> wrote:

> Wouldn't it be more appropriate to just relax the constraints on
>> hysock_connect_with_timeout?
>>
> Sure, what would you suggest? I believe the reason the portlib function was
> implemented this way (only a short 100ms timeout maximum) is because on some
> platforms it is not possible to interrupt blocking calls, so once you go
> into the block there is no way to stop it for, for example, VM shutdown.
>

We should just put the loop in the platform-specific port! Behavior on good
platforms shouldn't suffer just so we can support crappy platforms!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message