On Thu, 22 Dec 2011, Felipe Monteiro de Carvalho wrote:
On Thu, Dec 22, 2011 at 9:15 AM, <michael.vancann...@wisa.be> wrote:
As I understand it, Delphi and Lazarus implement the former, and don't need
a timeout for it.
Ops, you are correct, it is a one shot event:
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Forms_TApplication_OnIdle.html
I think I implemented it as a repetitive event. ops =D I guess I'll
need to fix this.
But you should not try to compare directly the LCL gtk2 or qt4
widgetsets with fpgui since gtk2 and qt4 do most of the real work.
Lazarus now has a X11 interface which can be used for direct
comparisons and it uses the timeout. In general I don't fully trust
select() to wakeup correctly yet.
Strange statement.
If select() didn't do its job correctly, neither Qt or Gtk could do their
job, or any network related program, for that matter.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal