From 83062db7cbe3824b98406fb26a513eec3ee22309 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 24 Aug 2016 10:36:08 -0600 Subject: [PATCH] btl/ugni: actually make the endpoint lock recursive Signed-off-by: Nathan Hjelm --- opal/mca/btl/ugni/btl_ugni_endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/ugni/btl_ugni_endpoint.c b/opal/mca/btl/ugni/btl_ugni_endpoint.c index 311de5de40..31db650467 100644 --- a/opal/mca/btl/ugni/btl_ugni_endpoint.c +++ b/opal/mca/btl/ugni/btl_ugni_endpoint.c @@ -17,7 +17,7 @@ static void mca_btl_ugni_ep_construct (mca_btl_base_endpoint_t *ep) { memset ((char *) ep + sizeof(ep->super), 0, sizeof (*ep) - sizeof (ep->super)); OBJ_CONSTRUCT(&ep->frag_wait_list, opal_list_t); - OBJ_CONSTRUCT(&ep->lock, opal_mutex_t); + OBJ_CONSTRUCT(&ep->lock, opal_recursive_mutex_t); } static void mca_btl_ugni_ep_destruct (mca_btl_base_endpoint_t *ep)