/** * Finalize the module */ static void finalize(void) { orte_grpcomm_base_modex_finalize(); /* if we are a daemon or the hnp, we need to cancel the * recv we posted */ if (ORTE_PROC_IS_DAEMON || ORTE_PROC_IS_HNP) { orte_rml.recv_cancel(ORTE_NAME_WILDCARD, ORTE_RML_TAG_DAEMON_COLLECTIVE); } }
/** * Finalize the module */ static void finalize(void) { opal_list_item_t *item; orte_grpcomm_base_modex_finalize(); while (NULL != (item = opal_list_remove_first(&my_local_peers))) { OBJ_RELEASE(item); } OBJ_DESTRUCT(&my_local_peers); OBJ_DESTRUCT(&barrier); OBJ_DESTRUCT(&allgather); if (NULL != my_coll_peers) { free(my_coll_peers); } }
/** * Finalize the module */ static void finalize(void) { orte_grpcomm_base_modex_finalize(); }