读书人

ThreadLocal的兑现原理

发布时间: 2012-08-29 08:40:14 作者: rapoo

ThreadLocal的实现原理

调用者:

    /**     * Get the map associated with a ThreadLocal. Overridden in     * InheritableThreadLocal.     *     * @param  t the current thread     * @return the map     */    ThreadLocalMap getMap(Thread t) {        return t.threadLocals;    }

?

读书人网 >编程

热点推荐