1
1

Take thread issues into account, but don't do much with the information

yet

This commit was SVN r632.
Этот коммит содержится в:
Jeff Squyres 2004-01-31 21:48:41 +00:00
родитель 7bafbd0043
Коммит ea3855d1cb

Просмотреть файл

@ -21,6 +21,8 @@
int lam_mpi_init(int argc, char **argv, int requested, int *provided)
{
int ret;
bool allow_multi_user_threads;
bool have_hidden_threads;
/* Become a LAM process */
@ -36,7 +38,8 @@ int lam_mpi_init(int argc, char **argv, int requested, int *provided)
/* Join the run-time environment */
if (LAM_SUCCESS != (ret = lam_rte_init())) {
if (LAM_SUCCESS != (ret = lam_rte_init(&allow_multi_user_threads,
&have_hidden_threads))) {
return ret;
}
@ -61,7 +64,8 @@ int lam_mpi_init(int argc, char **argv, int requested, int *provided)
final thread level */
if (LAM_SUCCESS !=
(ret = mca_mpi_init_select_modules(requested, provided))) {
(ret = mca_mpi_init_select_modules(requested, allow_multi_user_threads,
have_hidden_threads, provided))) {
/* JMS show_help */
return ret;
}