Skip to content

Commit d8ef5dc

Browse files
committed
configury: fix pthread_join() call in OMPI_INTL_PTHREAD_TRY_LINK_FORTRAN
(back-ported from commit open-mpi/ompi@713e3ea)
1 parent aeaa542 commit d8ef5dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/ompi_config_pthreads.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
99
dnl University of Stuttgart. All rights reserved.
1010
dnl Copyright (c) 2004-2005 The Regents of the University of California.
1111
dnl All rights reserved.
12-
dnl Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
13-
dnl Copyright (c) 2014 Research Organization for Information Science
12+
dnl Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
13+
dnl Copyright (c) 2014-2016 Research Organization for Information Science
1414
dnl and Technology (RIST). All rights reserved.
1515
dnl $COPYRIGHT$
1616
dnl
@@ -117,7 +117,7 @@ void pthreadtest_f(void)
117117
pthread_attr_init(&attr);
118118
pthread_cleanup_push(cleanup_routine, 0);
119119
pthread_create(&newthread, &attr, thread_main, 0);
120-
pthread_join(&newthread, 0);
120+
pthread_join(newthread, 0);
121121
pthread_cleanup_pop(0);
122122
}
123123

0 commit comments

Comments
 (0)