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

Daniel Campos dcamposf at ...176...
Mon Nov 19 13:26:51 CET 2007


> 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