Re: RFC: Does it make sense to build a ocaml-eventfd package?
- To: firstname.lastname@example.org
- Subject: Re: RFC: Does it make sense to build a ocaml-eventfd package?
- From: ygrek <email@example.com>
- Date: Tue, 14 Sep 2010 23:15:20 +0300
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org> <email@example.com> <4C77A121.firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>
On Tue, 14 Sep 2010 21:27:45 +0200
Goswin von Brederlow <email@example.com> wrote:
> > On Fri, 27 Aug 2010 13:27:29 +0200
> > StÃ©phane Glondu <firstname.lastname@example.org> wrote:
> >> And I also have some bindings to ioctl() that manipulate serial ports
> >> parameters buried in one of my other projects that should be elsewhere,
> >> but are not significant enough (IMHO) to make a separate project .
> >> 
> >> http://krobot.git.sourceforge.net/git/gitweb.cgi?p=krobot/krobot;a=tree;f=info/ocaml-serial;hb=HEAD
Converting from BSD3 to LGPL is ok?
> Should we have an ExtUnix.Linux submodule for eventfd and signalfd?
> Or use
> let eventfd () = throw ENOSYS
> on platforms that don't have it?
We have devised a README with sort of "vision" for ExtUnix, which should answer this question,
please have a look -
> I could imagine emulating the eventfd with pipes but signalfd might be
> impossible to emulate.
I think eventfd emulation on pipes doesn't count for "thin" binding and it can be probably
done entirely in ocaml side, but we could have it in single place anyway..