摘要: 1. 创建一个单例模式的自定义线程池类public class CustomThreadPool{ //#region configurable items - for demo let's have these as constants private const int MAX = 8; // maximum no of threads in pool private const int MIN = 3; // minimum no of threads in pool private const int MIN_WAIT = 10; // milliseconds... 阅读全文
posted @ 2013-03-12 13:35 Master HaKu 阅读(469) 评论(0) 推荐(0) 编辑