Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ompi/mca/pml/ob1/pml_ob1_irecv.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ int mca_pml_ob1_recv(void *addr,
mca_pml_ob1_recv_request_t *recvreq = NULL;
int rc;

#if !OPAL_ENABLE_MULTI_THREADS
#if !OMPI_ENABLE_THREAD_MULTIPLE
recvreq = mca_pml_ob1_recvreq;
if( OPAL_UNLIKELY(NULL == recvreq) )
#endif /* !OPAL_ENABLE_MULTI_THREADS */
#endif /* !OMPI_ENABLE_THREAD_MULTIPLE */
{
MCA_PML_OB1_RECV_REQUEST_ALLOC(recvreq);
if (NULL == recvreq)
return OMPI_ERR_TEMP_OUT_OF_RESOURCE;
#if !OPAL_ENABLE_MULTI_THREADS
#if !OMPI_ENABLE_THREAD_MULTIPLE
mca_pml_ob1_recvreq = recvreq;
#endif /* !OPAL_ENABLE_MULTI_THREADS */
#endif /* !OMPI_ENABLE_THREAD_MULTIPLE */
}
OBJ_CONSTRUCT(recvreq, mca_pml_ob1_recv_request_t);

Expand Down
8 changes: 4 additions & 4 deletions ompi/mca/pml/ob1/pml_ob1_isend.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,17 +220,17 @@ int mca_pml_ob1_send(void *buf,
}
}

#if !OPAL_ENABLE_MULTI_THREADS
#if !OMPI_ENABLE_THREAD_MULTIPLE
sendreq = mca_pml_ob1_sendreq;
if( OPAL_UNLIKELY(NULL == sendreq) )
#endif /* !OPAL_ENABLE_MULTI_THREADS */
#endif /* !OMPI_ENABLE_THREAD_MULTIPLE */
{
MCA_PML_OB1_SEND_REQUEST_ALLOC(comm, dst, sendreq);
if (NULL == sendreq)
return OMPI_ERR_TEMP_OUT_OF_RESOURCE;
#if !OPAL_ENABLE_MULTI_THREADS
#if !OMPI_ENABLE_THREAD_MULTIPLE
mca_pml_ob1_sendreq = sendreq;
#endif /* !OPAL_ENABLE_MULTI_THREADS */
#endif /* !OMPI_ENABLE_THREAD_MULTIPLE */
}
OBJ_CONSTRUCT(sendreq, mca_pml_ob1_send_request_t);
sendreq->req_send.req_base.req_proc = dst_proc;
Expand Down