change code style
add ThreadLocalPtr Impl