X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=HACKING;h=7cd3f2db7a1f13953a887bd21bb54f3fddf03931;hb=f0a4c05b84a29abe171d0b82d5f6305606b3ce8d;hp=468162ecbfc0771abd5c99fb0f41c13966b48fd1;hpb=e2e705307171a21a413f6ea47baf52d2fb44a6b3;p=guestfs-browser.git diff --git a/HACKING b/HACKING index 468162e..7cd3f2d 100644 --- a/HACKING +++ b/HACKING @@ -1,5 +1,5 @@ -This document describes the software architecture of the Guestfs -Browser, useful if you want to hack on it. +This document describes the software architecture of the +guestfs-browser, useful if you want to hack on it. About OCaml ----------- @@ -7,6 +7,7 @@ About OCaml First of all about OCaml: Read the tutorial and other resources available from this site: + http://caml.inria.fr/ http://ocaml-tutorial.org/ If you are using emacs, install tuareg-mode instead of using the @@ -30,7 +31,7 @@ Threads and messages Because libvirt and libguestfs API calls are usually long-running, we have to use threads, making these API calls in one thread, while -another thread keeps the display updated. In Guestfs Browser we use +another thread keeps the display updated. In guestfs-browser we use two threads, and send messages between them. The main thread keeps the display updated and runs the glib main loop. The slave thread issues libvirt and libguestfs API calls serially. There is a FIFO