Displaying 3 results from an estimated 3 matches for "caml_register_global_root".
2015 Oct 06
0
[PATCH 1/4] ocaml: Use generational global roots.
...10 +179,7 @@ ocaml_guestfs_create (value environmentv, value close_on_exitv, value unitv)
*/
v = guestfs_int_safe_malloc (g, sizeof *v);
*v = gv;
- /* XXX This global root is generational, but we cannot rely on every
- * user having the OCaml 3.11 version which supports this.
- */
- caml_register_global_root (v);
+ caml_register_generational_global_root (v);
guestfs_set_private (g, "_ocaml_g", v);
CAMLreturn (gv);
@@ -255,10 +252,7 @@ ocaml_guestfs_set_event_callback (value gv, value closure, value events)
ocaml_guestfs_raise_error (g, "set_event_callback");
}
-...
2015 Oct 06
6
[PATCH 0/4] ocaml: Allow Guestfs.t handle to be garbage collected.
Allow Guestfs.t handle to be garbage collected, and add a
regression test.
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch:
https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html
This adds OCaml and Perl bindings (both tested), support for
progress bars in virt-resize, and adds progress notifications
to a number of the simpler commands.
Still to do is to add progress messages to more commands. There
are still a few commands which would be