本地线程变量的运用(不涉及内存优化): http://www.iteye.com/topic/103804和http://www.cnblogs.com/dolphin0520/p/3920407.html