Java并发编程实践-第三章-对象的共享
摘要:
3.3.3 ThreadLocal3.3.3 ThreadLocalA more formal means of maintaining thread confinement is ThreadLocal,which allows you to associate a per-thread value with a value-holding object. ThreadLocal provides get and set accessor methods that maintain a separate copy of the value for each thread that use... 阅读全文
posted @ 2011-10-17 15:01 littlesuccess 阅读(242) 评论(0) 推荐(0) 编辑