Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btl/usnic: move btl_usnic_lock initialization #12355

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions opal/mca/btl/usnic/btl_usnic_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ static int usnic_component_open(void)

/* initialize objects */
OBJ_CONSTRUCT(&mca_btl_usnic_component.usnic_procs, opal_list_t);
OBJ_CONSTRUCT(&btl_usnic_lock, opal_recursive_mutex_t);


/* Sanity check: if_include and if_exclude need to be mutually
exclusive */
Expand Down Expand Up @@ -587,8 +589,6 @@ usnic_component_init(int *num_btl_modules, bool want_progress_threads, bool want
}
}

OBJ_CONSTRUCT(&btl_usnic_lock, opal_recursive_mutex_t);

/* There are multiple dimensions to consider when requesting an
API version number from libfabric:

Expand Down
Loading