Re: [PATCH libvirt-glib] Don't hold events lock when dispatching free callbacks

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

 



On Mon, Aug 20, 2012 at 04:14:52PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> The _event_timeout_remove and _event_handle_remove methods
> were holding onto the global lock when invoking the free
> callback. This is a violation of the libvirt events API
> contract which requires free callbacks to be invoked in
> a re-entrant safe context.

Is it a possible fix for the infamous boxes issue where it sometimes stop
getting events from libvirt? Regardless of that, nice catch!

Christophe

Attachment: pgp5KhNcaeN0K.pgp
Description: PGP signature

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