摘要: 本篇通过一个列子使用EventWaitHandle实现两个线程的同步。请参看下面的列子。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ThreadSynDemo{ class Program { private int n1, n2, n3; static void Main(string[] args) { Program p = ... 阅读全文
posted @ 2013-06-24 15:16 焦涛 阅读(461) 评论(0) 推荐(0)