多线程中互斥体

 Mutex mx = new Mutex();
 mx.WaitOne();

自己要执行代码

mx.ReleaseMutex();

posted @ 2012-02-13 11:39  事理  阅读(219)  评论(0编辑  收藏  举报