[Gambas-devel] Perfomance differences between gb.gtk and gb.qt components

Daniel Campos dcamposf at ...176...
Mon Nov 19 14:17:04 CET 2007


Well, there are functions to watch file descriptor inide the main
event loop of GTK+,I will rewrite that code, but It will take a bit,
stay tuned...

2007/11/19, Daniel Campos <dcamposf at ...176...>:
> > I think the problem comes from the event loop being too active. I think
> > gApplication::iteration() should block while waiting for events.
> >
> > The gbx2 event loop works this way: it blocks on select() while waiting for
> > watched file descriptors, with a timeout if a timer must be triggered.
> >
> > I think the QT event loop works the same way, by watching the X11 file
> > descriptor to know when X events arrive.
> >
>
> Yes,yes, of course that's the problem, but I have to think in the way
> to manage watched descriptors if I block the main event loop...
>
> Daniel
>




More information about the Devel mailing list