[Lazarus] Has somebody tried using some GExperts with Lazarus?

Thierry Coq tcoq at free.fr
Sat Oct 17 10:09:55 CEST 2009


SteveG schreef:
> Would anybody know if it is possible to tell if a function has been called 
> from the Main (GUI) thread, or a 'child' thread ?
> (determined within the function being called)
>

Yes, that is possible. Compare GetCurrentThreadID with MainThreadID.

Vincent




More information about the Lazarus mailing list