Skip to content

Commit e713a28

Browse files
committed
opal_progress: progress events if num_event_users > 0
Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
1 parent 4677aa1 commit e713a28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/runtime/opal_progress.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static int opal_progress_events()
219219
void
220220
opal_progress(void)
221221
{
222-
static volatile uint32_t num_calls = 0;
222+
static uint32_t num_calls = 0;
223223
size_t i;
224224
int events = 0;
225225

@@ -239,6 +239,8 @@ opal_progress(void)
239239
events += (callbacks_lp[i])();
240240
}
241241

242+
opal_progress_events();
243+
} else if (num_event_users > 0) {
242244
opal_progress_events();
243245
}
244246

0 commit comments

Comments
 (0)