[libvirt] [PATCH 1/4] Introduce virHashLockable

Peter Krempa pkrempa at redhat.com
Thu Jul 9 13:43:32 UTC 2015


On Wed, Jul 08, 2015 at 15:22:49 +0200, Jiri Denemark wrote:
> This is a self-locking wrapper around virHashTable. Only a limited set
> of APIs are implemented now (the ones which are used in the following
> patch) as more can be added on demand.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/libvirt_private.syms |  3 ++
>  src/util/virhash.c       | 81 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/virhash.h       | 10 ++++++
>  3 files changed, 94 insertions(+)

ACK although I dislike the "Lockable" part since you are not "able" to
lock that hash, but that hash is self-locking. But I don't have a better
name suggestion.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150709/672815d8/attachment-0001.sig>


More information about the libvir-list mailing list