网络世界,大有可为

献给自己的一片天空

导航

2007年7月27日

(转)对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 Geerry 阅读(851) 评论(0) 推荐(0) 编辑