(转)对Queue的同步操作,了解lock以及 AutoResetEvent 和 ManualResetEvent 类用法
摘要:代码如下:1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;45usingSystem.Threading;6usingSystem.Collections;789namespaceSyncEvents10{11publicclassSyncEvents12{1314publicSyncEvents()15{16//Au...
阅读全文
posted @ 2007-07-27 09:59
浙公网安备 33010602011771号