1
1

* Only need to to the opal_progress_event_users_increment() once between

OPAL and ORTE.  Since we now do opal_progress_init(), we do it
    there.  Fixes a performance issue introduced in r14773.
  * While trying to find the above, notived that we did the reference
    counting for the init in init_util and for finalize in fini.  That
    isn't right, so make them both in the non-util versions.

This commit was SVN r14830.

The following SVN revision numbers were found above:
  r14773 --> open-mpi/ompi@1e678c3f55
Этот коммит содержится в:
Brian Barrett 2007-06-01 02:43:46 +00:00
родитель 38698adf29
Коммит 34fea87819
2 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

@ -136,12 +136,6 @@ opal_init_util(void)
int ret;
char *error = NULL;
if( ++opal_initialized != 1 ) {
if( opal_initialized < 1 ) {
return OPAL_ERROR;
}
return OPAL_SUCCESS;
}
/* initialize the memory allocator */
opal_malloc_init();
@ -210,6 +204,13 @@ opal_init(void)
int ret;
char *error = NULL;
if( ++opal_initialized != 1 ) {
if( opal_initialized < 1 ) {
return OPAL_ERROR;
}
return OPAL_SUCCESS;
}
/* initialize util code */
if (OPAL_SUCCESS != (ret = opal_init_util())) {
return ret;

Просмотреть файл

@ -145,9 +145,6 @@ int orte_init_stage1(bool infrastructure)
/***** ERROR LOGGING NOW AVAILABLE *****/
/* we want to tick the event library whenever possible */
opal_progress_event_users_increment();
/*
* Internal startup
*/