2011年7月12日

关于C#中Thread.Join()的一点理解

摘要: 转载网址:http://www.cnblogs.com/slikyn/articles/1525940.html今天是第一次在C#中接触Thread,自己研究了一下其中Thread.Join()这个方法,下面谈谈自己的理解。 Thread.Join()在MSDN中的解释很模糊:Blocks the calling thread until a thread terminates有两个主要问题:1.什么是the calling thread? 2.什么是a thread? 首先来看一下有关的概念: 我们执行一个.exe文件实际上就是开启了一个进程,同时开启了至少一个线程,但是真正干活的是线程.. 阅读全文

posted @ 2011-07-12 22:44 IT@民工 阅读(144) 评论(0) 推荐(0) 编辑

导航