[libvirt] [RFC PATCH 04/10] qemu: Introduce virTheadPoolDrain

Erik Skultety eskultet at redhat.com
Mon Jan 15 16:51:28 UTC 2018


On Wed, Jan 10, 2018 at 12:23:29PM -0500, John Ferlan wrote:
> Split up virThreadPoolFree to create a Drain function which will
> be called from virNetServerClose in order to ensure the various
> worker threads are removed during the close rather than waiting
> for the dispose function.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---

I think that Dan had a bit different idea about the virThreadPoolDrain (I think
that the name should have been something like virThreadPoolJobsPurge) function.
https://www.redhat.com/archives/libvir-list/2017-December/msg00802.html

Erik




More information about the libvir-list mailing list