多线程编程
using System.Threading;
1、创建新线程
Thread testThread=new Thread(Addressof testSub);
2、启动线程
testThread.Start();
| Start | 使线程开始运行。 |
| Sleep | 使线程暂停指定的一段时间。 |
| Suspend | 在线程到达安全点时,使其暂停。 |
| Abort | 在线程到达安全点时,使其停止。 |
| Resume | 重新启动挂起的线程 |
| 使当前线程一直等到另一线程完成。在与超时值一起使用时,如果该线程在分配的时间内完成,此方法将返回 True。 |
3、

浙公网安备 33010602011771号