On Thu, Jul 09, 2015 at 15:43:32 +0200, Peter Krempa wrote:
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(a)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.
Yeah, I think virHashAtomic sounds better.
Jirka