On 10/09/2011 09:55 AM, Mattias Gaertner wrote:
On Sun, 9 Oct 2011 08:14:41 +0100
Frank Church<[email protected]>  wrote:

How is it determined whether a piece of code runs within the LCL or not?
if GetCurrentThreadID=MainThreadID then

I understand his question as "How to find out whether a function in the RTL is allowed to be called by a thread? "

Here only the documentation can help. When it is not elaborated enough you need good intuition.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to