Re: [PATCH v2 07/13] rpc: finish all threads before exiting main loop

2020-09-04 Thread Daniel P . Berrangé
On Thu, Jul 23, 2020 at 01:14:07PM +0300, Nikolay Shirokovskiy wrote: > Currently we have issues like [1] on libvirtd shutdown as we cleanup while RPC > and other threads are still running. Let's finish all threads other then main > before cleanup. > > The approach to finish threads is suggested i

[PATCH v2 07/13] rpc: finish all threads before exiting main loop

2020-07-23 Thread Nikolay Shirokovskiy
Currently we have issues like [1] on libvirtd shutdown as we cleanup while RPC and other threads are still running. Let's finish all threads other then main before cleanup. The approach to finish threads is suggested in [2]. In order to finish RPC threads serving API calls we let the event loop ru