[fpc-pascal] Does TThread.Execute terminate thread on exit?

Michael Schnell mschnell at lumino.de
Mon Nov 2 09:55:09 CET 2015


On 11/01/2015 07:39 PM, Bo Berglund wrote:
> Now, where should the TIdTCPClient be located?
Regarding the working of your Threads, It does not matter where any 
Instance is "located" (I suppose you mean what is the creator and with 
that the Owner of the object)

This is just a question of memory management and not of any relevance to 
the thread execution. the Thread behavior (including thread safeness or 
variables etc) is a completely independent issue from the memory 
(class-instance) organization.

-Michael



More information about the fpc-pascal mailing list