add attribute [[cms::thread_safe]]