check function declarations for [[cms::thread_safe]] attribute
 .