Beispiel #1
0
static int isolated_fini(void)
{
    if (0 == isolated_init_count) {
        return OPAL_SUCCESS;
    }

    if (0 != --isolated_init_count) {
        return OPAL_SUCCESS;
    }
    opal_pmix_base_hash_finalize();
    return OPAL_SUCCESS;
}
Beispiel #2
0
static int s1_fini(void) {
    if (0 == pmix_init_count) {
        return OPAL_SUCCESS;
    }

    if (0 == --pmix_init_count) {
        PMI_Finalize ();
    }

    // teardown hash table
    opal_pmix_base_hash_finalize();

    return OPAL_SUCCESS;
}