Updated to comply with latest module_mutual_thread_comm changes