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

Daniel Campos dcamposf at ...176...
Tue Nov 20 11:06:44 CET 2007


Well, yes, your fix seems to be the only way to free the source... extrange

2007/11/20, Daniel Campos <dcamposf at ...176...>:
> Yes, I see... well, checking again what's happening, the documentation
> is not clear, as usual
>
> Stay tuned :-)
>
> 2007/11/20, Benoit Minisini <gambas at ...1...>:
> > On mardi 20 novembre 2007, Benoit Minisini wrote:
> > > On lundi 19 novembre 2007, Daniel Campos wrote:
> > > > 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...
> > >
> > > With the last revision, I get 100% CPU usage...
> >
> > If I put a "return;" just to the beginning of the CWatcher::Add() function,
> > then I get normal CPU usage.
> >
> > This function is called because my GTK+ project uses gb.form, that calls
> > external processes during the initialization of the Stock class, and so the
> > file descriptor of the processes input/output are watched.
> >
> > So there is something in g_io_* functions that makes gtk_main_iteration() not
> > blocking after having been used, even if the GIOChannel are correctly
> > unreferenced, and so destroyed.
> >
> > Regards,
> >
> > --
> > Benoit Minisini
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-devel mailing list
> > Gambas-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> >
>




More information about the Devel mailing list