[libvirt] [PATCH] Prevent overfilling of self-pipe in python event loop

2011-01-27 Thread Daniel P. Berrange
If the event loop takes a very long time todo something, it is possible for the 'self pipe' buffer to become full at which point the entire event loop + remote driver deadlock. Use a boolean flag to ensure we have strict one-in, one-out behaviour on writes/reads of the 'self pipe' ---

Re: [libvirt] [PATCH] Prevent overfilling of self-pipe in python event loop

2011-01-27 Thread Daniel Veillard
On Thu, Jan 27, 2011 at 12:56:24PM +, Daniel P. Berrange wrote: If the event loop takes a very long time todo something, it is possible for the 'self pipe' buffer to become full at which point the entire event loop + remote driver deadlock. Use a boolean flag to ensure we have strict