From f8158a5ec1747d085cb797669813a220856dcebb Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 14 Apr 2015 09:33:19 -0600 Subject: [PATCH] btl/vader: fix deadlock in mca_btl_vader_progress_endpoints This commit fixes a typo in mca_btl_vader_progress_endpoints where OPAL_THREAD_LOCK was used when OPAL_THREAD_UNLOCK was intended. Signed-off-by: Nathan Hjelm --- opal/mca/btl/vader/btl_vader_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/vader/btl_vader_component.c b/opal/mca/btl/vader/btl_vader_component.c index 2dc4d7ff39..9363d47f52 100644 --- a/opal/mca/btl/vader/btl_vader_component.c +++ b/opal/mca/btl/vader/btl_vader_component.c @@ -661,7 +661,7 @@ static void mca_btl_vader_progress_endpoints (void) for (int i = 0 ; i < count ; ++i) { mca_btl_vader_progress_waiting ((mca_btl_base_endpoint_t *) opal_list_remove_first (&mca_btl_vader_component.pending_endpoints)); } - OPAL_THREAD_LOCK(&mca_btl_vader_component.lock); + OPAL_THREAD_UNLOCK(&mca_btl_vader_component.lock); } static int mca_btl_vader_component_progress (void)