Typo correction ...
This commit was SVN r7303.
Этот коммит содержится в:
родитель
8b1c28e068
Коммит
f8d9f6121c
@ -91,7 +91,7 @@ int mca_btl_mx_add_procs(
|
|||||||
* don't bind this PTL instance to the proc.
|
* don't bind this PTL instance to the proc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OPAL_THREAD_LOCK(&module_proc->proc_lock);
|
OPAL_THREAD_LOCK(&mx_proc->proc_lock);
|
||||||
|
|
||||||
/* The btl_proc datastructure is shared by all MX BTL
|
/* The btl_proc datastructure is shared by all MX BTL
|
||||||
* instances that are trying to reach this destination.
|
* instances that are trying to reach this destination.
|
||||||
@ -99,7 +99,7 @@ int mca_btl_mx_add_procs(
|
|||||||
*/
|
*/
|
||||||
mx_endpoint = OBJ_NEW(mca_btl_mx_endpoint_t);
|
mx_endpoint = OBJ_NEW(mca_btl_mx_endpoint_t);
|
||||||
if(NULL == mx_endpoint) {
|
if(NULL == mx_endpoint) {
|
||||||
OPAL_THREAD_UNLOCK(&module_proc->proc_lock);
|
OPAL_THREAD_UNLOCK(&mx_proc->proc_lock);
|
||||||
return OMPI_ERR_OUT_OF_RESOURCE;
|
return OMPI_ERR_OUT_OF_RESOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,12 +108,12 @@ int mca_btl_mx_add_procs(
|
|||||||
if(rc != OMPI_SUCCESS) {
|
if(rc != OMPI_SUCCESS) {
|
||||||
OBJ_RELEASE(mx_endpoint);
|
OBJ_RELEASE(mx_endpoint);
|
||||||
OBJ_RELEASE(mx_proc);
|
OBJ_RELEASE(mx_proc);
|
||||||
OPAL_THREAD_UNLOCK(&module_proc->proc_lock);
|
OPAL_THREAD_UNLOCK(&mx_proc->proc_lock);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
ompi_bitmap_set_bit(reachable, i);
|
ompi_bitmap_set_bit(reachable, i);
|
||||||
OPAL_THREAD_UNLOCK(&module_proc->proc_lock);
|
OPAL_THREAD_UNLOCK(&mx_proc->proc_lock);
|
||||||
peers[i] = mx_endpoint;
|
peers[i] = mx_endpoint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user