Hi,

As described at http://bugzilla.gnome.org/show_bug.cgi?id=481569 there
are numerous problems with the code that uses PySignal_SetWakeupFd()
to avoid polling for signals, including a misuse of the GSource  API
and excessive CPU usage due to not emptying the pipe.

I've fixed it up to use GSourceFuncs appropriately which solves the
problem, my pygobject patch is here:
http://bugzilla.gnome.org/attachment.cgi?id=125878&action=view

Full bug report is here:
http://bugzilla.gnome.org/show_bug.cgi?id=481569

The patch has blessings from Adam Olsen, a python guru. It has been
tested in OLPCs development builds for the last few weeks.

Is it OK for me to commit it to pygobject trunk and pygobject-2.16,
and pygtk trunk and pygtk-2-14?

Thanks!
Daniel
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to