[Lazarus] DebugLn thread safety

Michael Schnell mschnell at lumino.de
Wed Mar 30 10:01:57 CEST 2011


On 03/30/2011 01:05 AM, cobines wrote:
>   I'll use DebugLn via Synchronize.
>
Synchronize is not a good option for DebugLn, as (1) you need to pass 
parameters and (2) it will stall the thread for an unforeseeable amount 
of time. Application.QueuAsyncCall has been provided for exactly that 
purpose by some thoughtful person log ago, but alas,....

-Michael




More information about the Lazarus mailing list