src/runtime/prte_globals.c
/*
 * CONSTRUCTORS, DESTRUCTORS, AND CLASS INSTANTIATIONS
 * FOR PRTE CLASSES
 */
CONSTRUCTORS, DESTRUCTORS, AND CLASS INSTANTIATIONS
FOR PRTE CLASSES
CONSTRUCTORS DESTRUCTORS AND CLASS INSTANTIATIONS FOR PRTE CLASSES
static void prte_app_context_construct(prte_app_context_t *app_context)
{
    app_context->idx = 0;
    app_context->app = NULL;
    app_context->num_procs = 0;
    PRTE_CONSTRUCT(&app_context->procs, prte_pointer_array_t);
    prte_pointer_array_init(&app_context->procs, 1, PRTE_GLOBAL_ARRAY_MAX_SIZE, 16);
    app_context->state = PRTE_APP_STATE_UNDEF;
    app_context->first_rank = 0;
    app_context->argv = NULL;
    app_context->env = NULL;
    app_context->cwd = NULL;
    app_context->flags = 0;
    PRTE_CONSTRUCT(&app_context->attributes, prte_list_t);
}
static void prte_app_context_construct ( prte_app_context_t * app_context ) { app_context -> idx = 0 ; app_context -> app = NULL ; app_context -> num_procs = 0 ; PRTE_CONSTRUCT ( & app_context -> procs , prte_pointer_array_t ) ; prte_pointer_array_init ( & app_context -> procs , 1 , PRTE_GLOBAL_ARRAY_MAX_SIZE , 16 ) ; app_context -> state = PRTE_APP_STATE_UNDEF ; app_context -> first_rank = 0 ; app_context -> argv = NULL ; app_context -> env = NULL ; app_context -> cwd = NULL ; app_context -> flags = 0 ; PRTE_CONSTRUCT ( & app_context -> attributes , prte_list_t ) ; }
CONSTRUCTORS, DESTRUCTORS, AND CLASS INSTANTIATIONS
 FOR PRTE CLASSES
CONSTRUCTORS DESTRUCTORS AND CLASS INSTANTIATIONS FOR PRTE CLASSES