[Lazarus] DebugLn thread safety

Michael Schnell mschnell at lumino.de
Wed Mar 30 09:06:06 CEST 2011


On 03/30/2011 12:24 AM, Mattias Gaertner wrote:
>
>> Is it safe to use DebugLn from thread other than main?
> No.
>
(Me again, but I could not resist: )

I suppose It would be very easy to make a thread save version of DebugLn 
if TApplication.QueueAsyncCall would be fixed in GTK (and all other 
WidgetTypes)

-Michael




More information about the Lazarus mailing list