System.out.println("^^^^^^^^^线程" + i + "启动^^^^^^^^^^^^");
client.start();//启动线程
}
}
}
二、线程脚本:
package bss.intf.thread;
import java.rmi.RemoteException;
import crmwsi.crm.WSSPortTypeProxy;
/**
* @author zhangyp
* @version 2009-02-28
*/
public class ThreadClient extends Thread {
int num;
public void setNum(int n) {
this.num = n;
}
//在run里面变动业务处理的逻辑
public void run() {
int i = 0;
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/