1
1

- Fixes for for unlocking the mutex in case of error in functions

mca_btl_openib_post_srr and
     btl_openib_endpoint_post_rr

This commit was SVN r14530.
Этот коммит содержится в:
Rainer Keller 2007-04-26 13:33:02 +00:00
родитель 7341af93cf
Коммит ce32b918da
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -478,6 +478,7 @@ static inline int mca_btl_openib_post_srr(mca_btl_openib_module_t* openib_btl,
&bad_wr)) {
BTL_ERROR(("error posting receive descriptors to shared "
"receive queue: %s", strerror(errno)));
OPAL_THREAD_UNLOCK(&openib_btl->ib_lock);
return OMPI_ERROR;
}
}

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

@ -192,6 +192,7 @@ static inline int btl_openib_endpoint_post_rr(mca_btl_base_endpoint_t *endpoint,
&bad_wr)) {
BTL_ERROR(("error posting receive errno says %s\n",
strerror(errno)));
OPAL_THREAD_UNLOCK(&openib_btl->ib_lock);
return OMPI_ERROR;
}
}