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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus