[Lazarus] Event handling example project: results for gtk2 and fpGUI
Michael Schnell
mschnell at lumino.de
Thu Jan 20 10:47:41 CET 2011
Some testing results with Lazarus revision 29134 and fpGUI revision as
of 20110120:
GTK2 fpGUI
From a Thread ======= =======
Synchronize (*) OK
PostMessage OK no function
SendMessage (**) no function
Dispatch (**) (***)
QueueAsyncCall (*) (****)
From a Timer
Synchronize impossible
PostMessage OK no function
SendMessage OK no function
Dispatch OK OK
QueueAsyncCall OK (*****)
(*) The scheduled Events only are handled in the Main Thread when GUI
Events for the Form are handled
(**) Forbidden but eventually works, The scheduled Events only are
handled in the Main Thread when GUI Events for the Form are handled
(***) Forbidden; works doe some time, then "SIGABRT"
(****) The scheduled Events only are handled in the Main Thread when
the worker thread is terminated
(*****)Very funny: The scheduled Events only are handled in the Main
Thread when e.g a completely unrelated worker thread is created and then
terminated
Hope this helps,
-Michael
More information about the Lazarus
mailing list