On 03/30/2011 09:28 AM, cobines wrote:
It seems it is enough to protect the call to DebugLn with a critical section:
IMHO, not a good idea at all, as DebugLn, being a debug feature is
supposed to be as non-intrusive as possible. And a critical section
might stall the thread for an unforeseeable amount of time and kill the
behavior that made you decide to put the code in question into a thread.
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus