[libvirt] [PATCH 2/7] util: Introduce and use virObjectLockWrite
John Ferlan
jferlan at redhat.com
Fri Jul 28 18:27:22 UTC 2017
On 07/28/2017 12:59 PM, Pavel Hrdina wrote:
> On Fri, Jul 28, 2017 at 12:38:56PM -0400, John Ferlan wrote:
>> Instead of making virObjectLock be the entry point for two
>> different types of locks, let's create a virObjectLockWrite API
>> which will be able to return status and force the (new) consumers
>> of the RWLock to make sure the lock is really obtained when the
>> "right" object type is passed.
>
> If you remove the return value for the same reason as in the first patch
>
> Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
>
Fine again, minority opinion it seems. Still rename from
virObjectLockWrite to virObjectRWLockWrite is expect, right (or is that
Write)
John
More information about the libvir-list
mailing list