Re: [libvirt-glib] Ability to create new domains

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

 



On Tue, Sep 27, 2011 at 02:59:11PM +0300, Zeeshan Ali (Khattak) wrote:
> On Tue, Sep 27, 2011 at 11:56 AM, Daniel P. Berrange
> <berrange@xxxxxxxxxx> wrote:
> > Since the return value is annotated '(transfer full)' you need
> > todo 'g_object_ref(domain)' before putting it into the hash table,
> > since the hash needs to keep hold of a reference. Also you want
> > to have a g_mutex_lock/unlock either side of use of the hash
> > table.
> 
>   K, ACK otherwise?

Yep.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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


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