Skip to content

Commit 3bd5759

Browse files
committed
configury: fix pthread flags for fortran
(cherry picked from commit open-mpi/ompi@8976dcf)
1 parent d8ef5dc commit 3bd5759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/ompi_config_pthreads.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void pthreadtest_f(void)
114114
pthread_attr_t attr;
115115
116116
me = pthread_self();
117+
pthread_atfork(NULL, NULL, NULL);
117118
pthread_attr_init(&attr);
118119
pthread_cleanup_push(cleanup_routine, 0);
119120
pthread_create(&newthread, &attr, thread_main, 0);

0 commit comments

Comments
 (0)