Skip to content

Commit 7558e7c

Browse files
Mamzi Bayatpour  mbayatpour@nvidia.com ()janjust
andcommitted
OSC/UCX: Change the declaration of wpool ctx mutex to recursive. Note
that this object has been already getting constructed using opal_recursive_mutex_t inside opal_common_ucx_wpctx_create, but inside opal_common_ucx_ctx_t, it was missing the proper type. Signed-off-by: Mamzi Bayatpour <mbayatpour@nvidia.com> Co-authored-by: Tomislav Janjusic <tomislavj@nvidia.com>
1 parent e3c3391 commit 7558e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/common/ucx/common_ucx_wpool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extern opal_atomic_int64_t opal_common_ucx_unpacked_rkey_counts;
8181
* Context is bound to a particular Worker Pool object.
8282
*/
8383
typedef struct {
84-
opal_mutex_t mutex;
84+
opal_recursive_mutex_t mutex;
8585

8686
/* the reference to a Worker pool this context belongs to*/
8787
opal_common_ucx_wpool_t *wpool;

0 commit comments

Comments
 (0)