thread-safe in t_function

thread-safe in t_function
thread-safe in t_function

thread-safe in t_function