fix compilation bug with --enable-mpi-threads
This commit was SVN r9426.
Этот коммит содержится в:
родитель
a5a78b10cc
Коммит
01a119c3c5
@ -600,9 +600,9 @@ int mca_btl_openib_put( mca_btl_base_module_t* btl,
|
|||||||
if (OPAL_THREAD_ADD32(&endpoint->sd_wqe_lp,-1) < 0) {
|
if (OPAL_THREAD_ADD32(&endpoint->sd_wqe_lp,-1) < 0) {
|
||||||
|
|
||||||
OPAL_THREAD_ADD32(&endpoint->sd_wqe_lp,1);
|
OPAL_THREAD_ADD32(&endpoint->sd_wqe_lp,1);
|
||||||
OPAL_THREAD_LOCK(&endpoint->ib_lock);
|
OPAL_THREAD_LOCK(&endpoint->endpoint_lock);
|
||||||
opal_list_append(&endpoint->pending_frags_lp, (opal_list_item_t *)frag);
|
opal_list_append(&endpoint->pending_frags_lp, (opal_list_item_t *)frag);
|
||||||
OPAL_THREAD_UNLOCK(&endpoint->ib_lock);
|
OPAL_THREAD_UNLOCK(&endpoint->endpoint_lock);
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
|
|
||||||
/* post descriptor */
|
/* post descriptor */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user