harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][nio] epoll()-based Selector
Date Thu, 11 Oct 2007 07:51:46 GMT
Apologies for the late response ... still catching up.

Aleksey Shipilev wrote:
> Hi, Paulex,
> 
>> Amazing work, Aleksey!
> Thanks, I was waiting for it :)
> 
>> Seems RI[1] is adapative here, i.e., use epoll when 2.6 kernel is detected,
>> is it possible for Harmony to implement in similar way? Of course this can
>> be further work and doesn't necessary to prevent this patch to be applied.
> I believe it could be done in launcher which could detect the kernel
> where Harmony starts and then instantiate right SelectorProvider. I
> don't know the details for Harmony launcher though, it's just the
> guess. This is in some way contrary with portlib implementation - we
> could even implement optimized versions for Selector for Windows and
> Linux separately.

The launcher would not be the right place to detect the kernel version,
since we would want this to work in all places that the NIO code is
used, even when people are not using our launcher.

Regards,
Tim


Mime
View raw message