We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c22c945 commit 74595feCopy full SHA for 74595fe
src/runtime-libraries/mpi/mpi_caf.c
@@ -1116,9 +1116,13 @@ finalize_internal(int status_code)
1116
}
1117
#endif
1118
1119
+#ifdef HELPER
1120
pthread_mutex_lock(&lock_am);
1121
caf_is_finalized = 1;
1122
pthread_mutex_unlock(&lock_am);
1123
+#else
1124
+ caf_is_finalized = 1;
1125
+#endif
1126
free(sync_handles);
1127
dprint("Finalisation done!!!\n");
1128
0 commit comments