Thema
:
Thread abschießen bei Programmende?
Einzelnen Beitrag anzeigen
Furtbichler
(Gast)
n/a Beiträge
#
4
AW: Thread abschießen bei Programmende?
22. Dez 2012, 14:49
WaitFor waits for the thread. He wants to avoid it.
Also, this
markieren
Delphi-Quellcode:
if
not
Thread.Suspended
then
ForceTerminate := True
else
ForceTerminate := False;
can be shortened to
ForceTerminate :=
Not
Thread.Suspended;
Zitat