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

Osc/mt v4 #7

Merged
merged 3 commits into from
Dec 2, 2018
Merged

Osc/mt v4 #7

merged 3 commits into from
Dec 2, 2018

Conversation

xinzhao3
Copy link

@xinzhao3 xinzhao3 commented Dec 2, 2018

No description provided.

Copy link
Owner

@artpol84 artpol84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is the performance?

OPAL_LIST_FOREACH_SAFE(item, next, &wpool->active_workers,
_winfo_list_item_t) {
opal_common_ucx_winfo_t *winfo = item->ptr;
opal_mutex_lock(&winfo->mutex);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do a trylock here as well I think

@artpol84
Copy link
Owner

artpol84 commented Dec 2, 2018

Thank you @xinzhao3

@artpol84 artpol84 merged commit 48d475c into artpol84:osc/mt_v4 Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants