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

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



On Mon, Aug 20, 2012 at 04:14:52PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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: pgpudiIER2rbh.pgp
Description: PGP signature


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