[Lazarus] Threads
Michael Schnell
mschnell at lumino.de
Fri Mar 23 16:43:57 CET 2012
On 03/23/2012 03:36 PM, Antonio Fortuny wrote:
> All thread code I write, is contained in OS services or very
> specialized programs having no GUI at all.
Here this issue might be a problem (it was for me):
>> - The functionality of TThread.Synchronize and
>> Application.QueuAsyncCall is not available in all Widget Types (see
>> Compile-Options -> Build Modes). It is verified to work decently in
>> GTK and Win32 (and supposedly QT, but I did not check this myself).
Using any of the non standard PC GUI aware Lazarus Widget types, you
can't have a main thread and thus not "event driven programming" and
thus no events that are scheduled by threads.
-Michael
More information about the Lazarus
mailing list