Re: [libvirt PATCH] remote: add mutex when freeing private callbacks

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

 



On Tue, Mar 7, 2023, 00:59 Martin Kletzander <mkletzan@xxxxxxxxxx> wrote:
> Good catch, we can make it even slicker with:
>
>    VIR_LOCK_GUARD lock = virLockGuardLock(&priv->lock);
>
> and rely on automatic unlock at the return.  Either way (let me know if
> you're OK with the proposed change):

Thanks for the review; I'll look at amending the patch to do this. (This
patch was originally written for a version of libvirt where this macro
did not yet exist!)

Thanks,
Mike

[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]

  Powered by Linux