M mh527 Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-05 #1 请问如果让3个线程一起循环1到10000并显示在ListBox1里,最好有代码,弄了好几天还不明白~谢谢大家了
M mh527 Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-05 #2 请问如果让3个线程一起循环1到10000并显示在ListBox1里,最好有代码,弄了好几天还不明白~谢谢大家了
I iamy Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-05 #3 unit Unit2; interface uses Classes; type TMyThread = class(TThread) private protected procedure Execute; override; end; implementation { TMyThread } procedure TMyThread.Execute; var i:integer; begin for i:=1 to 10000do ; end; end.
unit Unit2; interface uses Classes; type TMyThread = class(TThread) private protected procedure Execute; override; end; implementation { TMyThread } procedure TMyThread.Execute; var i:integer; begin for i:=1 to 10000do ; end; end.
I iamy Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-05 #5 调用3次 procedur g var t:TMyThread; i:integer; begin for i:=1 to 3do TMyThread.create(false); end;
M mh527 Unregistered / Unconfirmed GUEST, unregistred user! 2005-05-05 #6 先谢您,我的意思是一起循环,现在是循环3次了~谢谢您了 兄弟能告诉QQ号码吗?