document thread_local