harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [classlib][nio] epoll()-based Selector
Date Fri, 12 Oct 2007 13:57:42 GMT
Hello,

> If we will implement automatic switching to the epoll, then
we implement runtime check and fail gently.

BTW, does one consider forgetting of 2.4 kernels? This would be the
most effective solution measured in lines of code. :-)

Thanks.

On 10/12/07, Aleksey Shipilev <aleksey.shipilev@gmail.com> wrote:
> Alexei,
>
> That's simple - if the have no _runtime_ kernel check and enable
> EpollSelectionProvider then we will fail with "unresolved symbol:
> epoll_*". More cleaner way will be to provide some runtime  check and
> fail with some clean message describing lack of epoll facility in the
> running kernel.
>
> AFAIU, both ways should not confuse the user since epoll is turned on
> manually. If we will implement automatic switching to the epoll, then
> we implement runtime check and fail gently.
>
> Thanks,
> Aleksey.
>
> On 10/12/07, Alexei Zakharov <alexei.zakharov@gmail.com> wrote:
> > Another question is what we should do if somebody tries to use our
> > regular snapshot (that was built on 2.6+ kernel) on the machine with
> > older kernel.
>


-- 
With best regards,
Alexei,
ESSD, Intel

Mime
View raw message