[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments on ‘wip-nio’
From: |
Ludovic Courtès |
Subject: |
Re: Comments on ‘wip-nio’ |
Date: |
Tue, 27 Mar 2012 17:50:33 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hi,
Andy Wingo <address@hidden> skribis:
> On Wed 21 Mar 2012 23:39, address@hidden (Ludovic Courtès) writes:
>
>> I had a quick look at ‘wip-nio’, and here are initial comments.
>
> Thanks for the feedback!
>
>> • epoll is Linux-specific. Any idea how a more multi-platform API
>> could be provided? I guess libevent could be used, but we don’t
>> want to add one more dependency in 2.0. How much is (ice-9 nio)
>> dependent on epoll vs. poll, for instance?
>
> It's possible to write a compatibility wrapper. Note that not all
> platforms have poll either; mingw being a notable example.
Yes. I mean, it would be best if the API were OS-independent, so that
more implementations of it can be added eventually.
Thanks for the rest of the explanations, I’ll jump to the new branch
now. :-)
Ludo’.
- Re: Comments on ‘wip-nio’, (continued)
Re: Comments on ‘wip-nio’, Andy Wingo, 2012/03/23
- Re: Comments on ‘wip-nio’,
Ludovic Courtès <=