Re: [libvirt] [PATCH RESENT 11/12] conf: virDomainObjListRemoveLocked function

2013-05-30 Thread Jim Fehlig
Marek Marczykowski wrote: > While iterating with virDomainObjListForEach it is safe to remove > current element. But while iterating, 'doms' lock is already taken, so > can't use standard virDomainObjListRemove. So introduce > virDomainObjListRemoveLocked for this purpose. > This seems sane to

[libvirt] [PATCH RESENT 11/12] conf: virDomainObjListRemoveLocked function

2013-04-09 Thread Marek Marczykowski
While iterating with virDomainObjListForEach it is safe to remove current element. But while iterating, 'doms' lock is already taken, so can't use standard virDomainObjListRemove. So introduce virDomainObjListRemoveLocked for this purpose. --- src/conf/domain_conf.c | 17 + src/c