L
lcl_003
Unregistered / Unconfirmed
GUEST, unregistred user!
线程里
procedure MyThread.Execute;
begin
freeOnTerminate := true;
do
something....
end;
创建
mythread.Create(false);
但是想停止线程死活不行:(
mythread.Destroy;
mythread.Terminate;
mythread.Suspend;
都不行:(
procedure MyThread.Execute;
begin
freeOnTerminate := true;
do
something....
end;
创建
mythread.Create(false);
但是想停止线程死活不行:(
mythread.Destroy;
mythread.Terminate;
mythread.Suspend;
都不行:(