[pygtk] pygobject/pygtk issues with PySignal_SetWakeupFd support code
dsd at laptop.org
Mon Jan 12 02:10:48 WST 2009
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:
Full bug report is here:
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?
More information about the pygtk