]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Make virDomainObjList self-locking via virObjectLockable
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Jan 2013 15:54:47 +0000 (15:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Feb 2013 19:22:25 +0000 (19:22 +0000)
commit582c445a967d967f22f68c9a532889fe1dba2fc8
tree232d02d65b9756e88413eaac5ec828d24eeff21c
parenteea87129f121dcdb2079a9c948c35a08ae4f8d38
Make virDomainObjList self-locking via virObjectLockable

Switch virDomainObjList to inherit from virObjectLockable and
make all the APIs acquire/release the mutex when running. This
makes virDomainObjList completely self-locking and no longer
reliant on the hypervisor driver locks
src/conf/domain_conf.c