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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to