Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 23846f2

Browse files
committed
btl/ugni: actually make the endpoint lock recursive
Signed-off-by: Nathan Hjelm <[email protected]> (cherry picked from commit open-mpi/ompi@83062db) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 917d293 commit 23846f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/ugni/btl_ugni_endpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static void mca_btl_ugni_ep_construct (mca_btl_base_endpoint_t *ep)
1717
{
1818
memset ((char *) ep + sizeof(ep->super), 0, sizeof (*ep) - sizeof (ep->super));
1919
OBJ_CONSTRUCT(&ep->frag_wait_list, opal_list_t);
20-
OBJ_CONSTRUCT(&ep->lock, opal_mutex_t);
20+
OBJ_CONSTRUCT(&ep->lock, opal_recursive_mutex_t);
2121
}
2222

2323
static void mca_btl_ugni_ep_destruct (mca_btl_base_endpoint_t *ep)

0 commit comments

Comments
 (0)