change functions for thread-safe

No match.