[libvirt] [PATCH 2/7] util: Introduce and use virObjectLockWrite

Pavel Hrdina phrdina at redhat.com
Fri Jul 28 16:59:10 UTC 2017


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170728/4211d499/attachment-0001.sig>


More information about the libvir-list mailing list