摘要: Boolean createdNew; //返回是否赋予了使用线程的互斥体初始所属权 System.Threading.Mutex instance = new System.Threading.Mutex(true, "MutexName", out createdNew); //同步基元变量 if (createdNew) //赋予了线程初始所属权,也就是首次使用互斥体 { Applicati... 阅读全文
posted @ 2008-03-26 09:53 DaveLin 阅读(449) 评论(0) 推荐(0) 编辑