From 9cb5f05ec1ca823b08a6c82b4e361154af7fc866 Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Wed, 17 Nov 2004 22:54:43 +0000 Subject: [PATCH] comments This commit was SVN r3603. --- src/mca/ptl/sm/src/ptl_sm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mca/ptl/sm/src/ptl_sm.c b/src/mca/ptl/sm/src/ptl_sm.c index 685da15714..0f9b4e2399 100644 --- a/src/mca/ptl/sm/src/ptl_sm.c +++ b/src/mca/ptl/sm/src/ptl_sm.c @@ -769,8 +769,10 @@ int mca_ptl_sm_send( ompi_atomic_unlock(&(send_fifo->head_lock)); } - if(sendreq->req_bytes_packed == size) + /* if this is the entire message - signal request is complete */ + if(sendreq->req_bytes_packed == size) { ompi_request_complete(sendreq); + } /* return */ return return_status;