[libvirt] [PATCH 03/23] Add APIs for virThreadPoolPtr to query some config params
Eric Blake
eblake at redhat.com
Tue Aug 14 23:46:22 UTC 2012
On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> It is desirable to be able to query the config params of
> the thread pool, in order to save the server state. Add
> virThreadPoolGetMinWorkers, virThreadPoolGetMaxWorkers
> and virThreadPoolGetPriorityWorkers APIs.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/libvirt_private.syms | 3 +++
> src/util/threadpool.c | 19 +++++++++++++++++++
> src/util/threadpool.h | 4 ++++
> 3 files changed, 26 insertions(+)
Simple accessors. ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120814/e4cba524/attachment-0001.sig>
More information about the libvir-list
mailing list