[fpc-pascal] Context of TThread.OnTerminate

Wimpie Nortje wimpienortje at gmail.com
Thu Feb 24 14:36:17 CET 2011


Hi everybody,

The manual (possibly Delphi one) says that TThread.OnTerminate executes
in the GUI thread. This is easy if the GUI thread owns the TThread.

Suppose the GUI owns a TTHread which owns a subthread. In which context
does the subthread's OnTerminate execute?

Thanks




More information about the fpc-pascal mailing list