1、
ThreadPool.QueueUserWorkItem(new WaitCallback(writeProgramThread), xoinfo);
2、
endThread = new Thread(new ParameterizedThreadStart(endRecordThread));
endThread.IsBackground = true;
endThread.Start(nowrecordinfo);
不带参数
scanThread = new Thread(new ThreadStart(scanXMLThread));
scanThread.IsBackground = true;
scanThread.Start();
时间: 2024-10-06 03:04:53