From: Ian Jackson Subject: Re: [PATCH v2-resend 22/30] libxl: ocaml: event management [and 1 more messages] Date: Mon, 11 Nov 2013 14:42:11 +0000 Message-ID: <21120.60611.692531.460725@mariner.uk.xensource.com> References: <1383760205-20397-1-git-send-email-rob.hoes@citrix.com> <1383760205-20397-19-git-send-email-rob.hoes@citrix.com> <1377168678-25492-1-git-send-email-rob.hoes@citrix.com> <1377168678-25492-23-git-send-email-rob.hoes@citrix.com> <21020.59469.965364.832725@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21020.59469.965364.832725@mariner.uk.xensource.com>, <1383760205-20397-19-git-send-email-rob.hoes@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Rob Hoes , xen-devel@lists.xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Rob Hoes writes ("[PATCH v4 18/27] libxl: ocaml: event management"): > Signed-off-by: Rob Hoes > Acked-by: David Scott > --- > tools/ocaml/libs/xl/xenlight.ml.in | 66 +++++++ > tools/ocaml/libs/xl/xenlight.mli.in | 47 +++++ > tools/ocaml/libs/xl/xenlight_stubs.c | 325 ++++++++++++++++++++++++++++++++++ I replied to v2 of this as follows: Ian Jackson writes ("Re: [Xen-devel] [PATCH v2-resend 22/30] libxl: ocaml: event management"): > Can you explain in a bit more detail how you expect to use this ? > > I'm very surprised that apparently the right interface to provide is > one which exposes the poll-based event loop machinery to ocaml. > Surely it would be better to plumb that in at a lower level. But I haven't had an answer. I think that whether this is the right approach depends on how event loops are traditionally done in ocaml. I'm afraid, though, that in the absence of an explanation: Nacked-by: Ian Jackson Thanks, Ian. PS Does anyone here know how Mirage handles event loops ?