线程的有关方法和使用

线程的两种调用方式:

1、Thread thread =new Thread(new ThreadStart(方法名));

     thread.Start();

2、Thread thread2 = new Thread(new ParameterizedThreadStart(方法名));

     thread2.Start(object类型参数)

 

参考网址:http://kb.cnblogs.com/page/130487/

 

posted @ 2015-04-15 14:07  小蚕豆  阅读(237)  评论(0编辑  收藏  举报