Displaying 3 results from an estimated 3 matches for "udev_settle_".
Did you mean:
udev_settle
2017 Jul 19
0
Re: [PATCH 02/27] daemon: Allow parts of the daemon and APIs to be written in OCaml.
...void
> > +ocaml_exn_to_reply_with_error (const char *func, value exn)
> > +{
>
> Shouldn't this use CAMLparam1 + CAMLreturn?
It doesn't allocate on the OCaml heap so it should be safe.
> > +let udev_settle ?filename () =
>
> Ditto.
‘Ditto’ means bind the C udev_settle_* functions?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
2017 Jul 20
2
Re: [PATCH 02/27] daemon: Allow parts of the daemon and APIs to be written in OCaml.
...ar *func, value exn)
> > > +{
> >
> > Shouldn't this use CAMLparam1 + CAMLreturn?
>
> It doesn't allocate on the OCaml heap so it should be safe.
>
> > > +let udev_settle ?filename () =
> >
> > Ditto.
>
> ‘Ditto’ means bind the C udev_settle_* functions?
Yes, that's correct.
--
Pino Toscano
2017 Jul 19
2
Re: [PATCH 02/27] daemon: Allow parts of the daemon and APIs to be written in OCaml.
On Friday, 14 July 2017 15:39:10 CEST Richard W.M. Jones wrote:
> .gitignore | 6 +-
> Makefile.am | 2 +-
> common/mlutils/Makefile.am | 4 -
> daemon/Makefile.am | 103 +++++++++++++++++++++++--
> daemon/chroot.ml | 85 +++++++++++++++++++++
> daemon/chroot.mli | 35 +++++++++
> daemon/daemon-c.c |