一个实例明白AutoResetEvent和 ManulResetEvent的用法
摘要:public class WaitHandlerExample { public static AutoResetEvent waitHandler; public static ManualResetEvent manualWaitHandler; public static void ThreadPoolMain() { waitHandler = new AutoResetEvent(false); ...
阅读全文
posted @ 2012-06-09 09:58