Skip to content

Commit f0f3383

Browse files
committed
Merge pull request #1590 from hjelmn/thread_multiple
osc/pt2pt: do not drop/reacquire the ompi_request_lock
2 parents bf19067 + 34ff629 commit f0f3383

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,8 +1622,6 @@ static int ompi_osc_pt2pt_callback (ompi_request_t *request)
16221622
size_t incoming_length = request->req_status._ucount;
16231623
int source = request->req_status.MPI_SOURCE;
16241624

1625-
OPAL_THREAD_UNLOCK(&ompi_request_lock);
1626-
16271625
assert(incoming_length >= sizeof(ompi_osc_pt2pt_header_base_t));
16281626
(void)incoming_length; // silence compiler warning
16291627

@@ -1667,8 +1665,6 @@ static int ompi_osc_pt2pt_callback (ompi_request_t *request)
16671665
osc_pt2pt_gc_add_request (module, request);
16681666
ompi_osc_pt2pt_frag_start_receive (module);
16691667

1670-
OPAL_THREAD_LOCK(&ompi_request_lock);
1671-
16721668
OPAL_OUTPUT_VERBOSE((50, ompi_osc_base_framework.framework_output,
16731669
"finished posting receive request"));
16741670

0 commit comments

Comments
 (0)