On Mon, Oct 12, 2015 at 12:25:55 +0200, Michal Privoznik wrote:
> Lets use wrapper functions virLockDaemonLock and
> virLockDaemonUnlock instead of virMutexLock and virMutexUnlock.
> This has no functional impact, but it's easier to read (at least
> for me).

Actually we removed such helpers in favor of virObjectLock in most
places.

On the other hand, converting a singleton to virObject is a waste of
resources.

> 
> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
> ---
>  src/locking/lock_daemon.c | 23 +++++++++++++++++------
>  1 file changed, 17 insertions(+), 6 deletions(-)
> 

Reluctant ACK if you add a 'inline' keyword.

Peter

Attachment: signature.asc
Description: Digital signature

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

Reply via email to