[Lazarus] Using Lazarus for non-graphical apps

Michael Van Canneyt michael at freepascal.org
Tue Jan 7 15:11:11 CET 2014

On Tue, 7 Jan 2014, Michael Schnell wrote:

> On 01/07/2014 02:22 PM, Michael Van Canneyt wrote:
>> I think you misunderstand TThread.Queue. It does not notify the main 
>> thread.
> Yes it does (from the view of the user), when the environment is decently 
> crafted (in fact it does the same as TThread.synchronize only that the thread 
> does not wait until the mainthread  is finished with executing the queued 
> procedure). In the end they call "WakeMainThread()" on that behalf.

WakeMainThread may or may not be implemented. You should not count on that.


More information about the Lazarus mailing list