Re: [PATCH 1/4] Introduce virHashLockable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> > ---
> >  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]