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

Bo Berglund bo.berglund at gmail.com
Sun Nov 1 15:25:34 CET 2015


I have seen that the Execute method must chect for Terminated in its
loop and exit if Terminated is set to true.
But I cannot find mention on what happens if the Execute method exits
without Terminated having first been set.
Does this cause the thread itself to terminate and free or what
happens?

-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list