日期:2014-05-17 浏览次数:21028 次
Thread t = new Thread(new ParameterizedThreadStart(getdata));
t.Name = "第1个线程";
t.Start("第1个线程的参数");
Thread t2 = new Thread(new ParameterizedThreadStart(getdata));
t.Name = "第2个线程";
t.Start("第2个线程的参数");
Thread t3 = new Thread(new ParameterizedThreadStart(getdata));
t.Name = "第3个线程";
t.Start("第3个线程的参数");
private void getdata(string links)
{
//根据参数去抓取不同网址的数据
}