From ae9a547055324731f902164f4db6ac7ce19af93f Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Wed, 14 Jul 2004 15:35:46 +0000 Subject: [PATCH] fix for latency issue This commit was SVN r1715. --- src/mca/ptl/tcp/src/ptl_tcp_peer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mca/ptl/tcp/src/ptl_tcp_peer.c b/src/mca/ptl/tcp/src/ptl_tcp_peer.c index 60c7fa1145..0e02823954 100644 --- a/src/mca/ptl/tcp/src/ptl_tcp_peer.c +++ b/src/mca/ptl/tcp/src/ptl_tcp_peer.c @@ -167,14 +167,11 @@ int mca_ptl_tcp_peer_send(mca_ptl_base_peer_t* ptl_peer, mca_ptl_tcp_send_frag_t if (NULL != ptl_peer->peer_send_frag) { ompi_list_append(&ptl_peer->peer_frags, (ompi_list_item_t*)frag); } else { -#if 0 if(mca_ptl_tcp_send_frag_handler(frag, ptl_peer->peer_sd)) { OMPI_THREAD_UNLOCK(&ptl_peer->peer_send_lock); mca_ptl_tcp_send_frag_progress(frag); return rc; - } else -#endif -{ + } else { ptl_peer->peer_send_frag = frag; ompi_event_add(&ptl_peer->peer_send_event, 0); }