Skip to content

Commit d7c25f6

Browse files
committed
pmix_native: update to the new opal_progress_thread API
1 parent 99fa054 commit d7c25f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

opal/mca/pmix/native/pmix_native.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* All rights reserved.
88
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
99
* reserved.
10+
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
1011
* $COPYRIGHT$
1112
*
1213
* Additional copyrights may follow
@@ -189,7 +190,8 @@ static int native_init(void)
189190
opal_argv_free(uri);
190191

191192
/* create an event base and progress thread for us */
192-
if (NULL == (mca_pmix_native_component.evbase = opal_start_progress_thread("opal_async", true))) {
193+
if (NULL == (mca_pmix_native_component.evbase =
194+
opal_progress_thread_init(NULL))) {
193195
return OPAL_ERROR;
194196
}
195197
}
@@ -251,7 +253,7 @@ static int native_fini(void)
251253
}
252254

253255
if (NULL != mca_pmix_native_component.evbase) {
254-
opal_stop_progress_thread("opal_async", true);
256+
opal_progress_thread_finalize(NULL);
255257
mca_pmix_native_component.evbase = NULL;
256258
}
257259

0 commit comments

Comments
 (0)