Skip to content

Commit 1038c1f

Browse files
Avoid hang on exit with user-driven interop (#3456)
1 parent fd84695 commit 1038c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arch/util/machine-common-core.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ if (MSG_STATISTIC)
17361736
#endif
17371737
CmiYield();
17381738
if (!CharmLibInterOperate || userDrivenMode) {
1739-
while (1) {
1739+
while (ckExitComplete.load() == 0) {
17401740
CmiYield();
17411741
}
17421742
}

0 commit comments

Comments
 (0)