[Libguestfs] [PATCH nbdkit v2 3/9] pool: Add outline get_ready and after_fork functions
Eric Blake
eblake at redhat.com
Mon Jul 31 14:11:11 UTC 2023
On Fri, Jul 28, 2023 at 06:17:47PM +0100, Richard W.M. Jones wrote:
> In a forthcoming commit we will need to create a multi handle and a
> background thread, requiring use of the .get_ready (for multi) and
> .after_fork (for the thread) plugin methods. This commit removes the
> empty load_pool function and adds pool_get_ready and pool_after_fork,
> and the associated machinery in curl.c.
>
> This commit on its own does nothing, future commits will fill in these
> functions with useful work.
> ---
> plugins/curl/curldefs.h | 3 ++-
> plugins/curl/curl.c | 14 +++++++++++++-
> plugins/curl/pool.c | 12 +++++++++---
> 3 files changed, 24 insertions(+), 5 deletions(-)
>
Reviewed-by: Eric Blake <eblake at redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
More information about the Libguestfs
mailing list