04 2015 档案

摘要:private System.Threading.ReaderWriterLock rwl; public DataBase() { rwl = new System.Threading.ReaderWriterLock(); } ... 阅读全文
posted @ 2015-04-18 13:25 一千零一夜 阅读(162) 评论(0) 推荐(0)
摘要:本文转载自 http://www.cnblogs.com/icyJ/p/Parallel_TaskFactory.html很厉害的帖子Barrier _bar;int _maxLength = 20, _maxChannel = 2;//同时最多2条通道,每条通道最多20个数据bool _isCan... 阅读全文
posted @ 2015-04-17 17:30 一千零一夜 阅读(998) 评论(0) 推荐(0)
摘要:using System;using System.Threading;using System.Runtime.Remoting.Messaging;using System.Collections.Generic;namespace PurchaseSystem.Component{ pu... 阅读全文
posted @ 2015-04-15 18:07 一千零一夜 阅读(268) 评论(0) 推荐(0)