introducing thread_safe--a function that wraps any object to make it thread-safe
introducing thread_safe--a function that wraps any object to make it thread-safe