创建带参数
Thread channelUpdaterThread = new Thread(new ParameterizedThreadStart(ChannelUpdaterThreadProc));
channelUpdaterThread.Start(this);
private static void ChannelUpdaterThreadProc(object obj)
{
ArchiverMain self = (ArchiverMain)obj;
。。。。。
}
退出
if (channelUpdaterThread != null)
{
channelUpdaterThread.Abort();
channelUpdaterThread.Join();
channelUpdaterThread = null;
}