摘要: The termdouble-checked locking(and sometimes the initials DCL) is used to refer to an infamous programming "pattern" which attempts to avoid synchronization when reading the reference to a singeton instance that is constructed throughlazy initialisation(that is, it is not constructed until 阅读全文
posted @ 2014-03-14 23:32 许仙儿 阅读(268) 评论(0) 推荐(0) 编辑