[libvirt] [PATCH v3 09/15] virNetworkObjListPtr: Make APIs self-locking

Peter Krempa pkrempa at redhat.com
Wed Mar 11 13:28:03 UTC 2015


On Tue, Mar 10, 2015 at 17:45:15 +0100, Michal Privoznik wrote:
> Every API that touches internal structure of the object must lock
> the object first. Not every API that has the object as an
> argument needs to do that though. Some APIs just pass the object
> to lower layers which, however, must lock the object then. Look
> at the code, you'll get my meaning soon.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/network_conf.c | 32 +++++++++++++++++++++++++++++---
>  1 file changed, 29 insertions(+), 3 deletions(-)

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150311/2ca7f511/attachment-0001.sig>


More information about the libvir-list mailing list