Re: [Twisted-Python] Gtk2Reactor: what are the reasons for avoiding GLib functions?

2011-04-05 Thread Jason Heeris
On 5 April 2011 20:06, Žiga Seilnacht wrote: > I think that the main reason for PortableGtkReactor being used on Windows > is due to glib's IO channels limitations on Windows. You can only have 63 > channels in the event loop at the same time due to g_poll's use of > MsgWaitForMultipleObject. The

Re: [Twisted-Python] Gtk2Reactor: what are the reasons for avoiding GLib functions?

2011-04-05 Thread Žiga Seilnacht
Hello, On 5.4.2011 9:08, Jason Heeris wrote: > I'd like to try and get to the bottom of the various problems with > Twisted + GTK + Windows (mainly issue #4932[1], but see also issues > #4376[2], #4862[3], #1759[4]). > > On issue #4376 there's a comment from Exarkun: > > "glib handles timeouts muc

Re: [Twisted-Python] Gtk2Reactor: what are the reasons for avoiding GLib functions?

2011-04-05 Thread Itamar Turner-Trauring
On Tue, 2011-04-05 at 15:08 +0800, Jason Heeris wrote: > I'd like to try and get to the bottom of the various problems with > Twisted + GTK + Windows (mainly issue #4932[1], but see also issues > #4376[2], #4862[3], #1759[4]). Thanks for looking into this! > On issue #4376 there's a comment from

Re: [Twisted-Python] Gtk2Reactor: what are the reasons for avoiding GLib functions?

2011-04-05 Thread Andrew Bennetts
Jason Heeris wrote: […] > "glib handles timeouts much less efficiently than any of the existing > Twisted reactors. Letting glib take care of these would probably make > the glib-based reactors unusable for applications with many timeouts." > > Is there a benchmark or piece of code somewhere that

[Twisted-Python] Gtk2Reactor: what are the reasons for avoiding GLib functions?

2011-04-05 Thread Jason Heeris
I'd like to try and get to the bottom of the various problems with Twisted + GTK + Windows (mainly issue #4932[1], but see also issues #4376[2], #4862[3], #1759[4]). On issue #4376 there's a comment from Exarkun: "glib handles timeouts much less efficiently than any of the existing Twisted reacto