search for: guestfs_get_progress

Displaying 1 result from an estimated 1 matches for "guestfs_get_progress".

2010 Jul 02
1
Progress bars
...s meter. Library changes --------------- On receiving a status message, the library can ignore it, or can: (1) update the total and current fields in the guestfs_h handle, and/or (2) call a prearranged callback function. We would add a way to query these numbers for an existing handle: void guestfs_get_progress (guestfs_h *g, int64_t *total, int64_t *current); Callers can poll this function on any open handle from any thread to retrieve the progress of the currently running call. [Side note: In general you cannot call libguestfs APIs from multiple threads: http://libguestfs.org/guestfs.3.html#multiple_h...