]> xenbits.xensource.com Git - libvirt.git/commit
virprocess: Introduce virProcessRunInFork
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Oct 2018 08:50:33 +0000 (10:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 16 Nov 2018 12:42:38 +0000 (13:42 +0100)
commit9e8e74f463e774f1e1e0c629a31caa48c12515db
tree45aa056c2799c995a2d4b6036f7b5cf19e11180e
parent24b74d187cab48a9dc9f409ea78900154c709579
virprocess: Introduce virProcessRunInFork

This new helper can be used to spawn a child process and run
passed callback from it. This will come handy esp. if the
callback is not thread safe.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/libvirt_private.syms
src/util/virprocess.c
src/util/virprocess.h