1
1

* only set threads if not running at thread single

This commit was SVN r11193.
Этот коммит содержится в:
Brian Barrett 2006-08-15 15:55:53 +00:00
родитель d9e06ad499
Коммит cdffc3158d

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

@ -544,8 +544,8 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
ompi_mpi_thread_multiple = (ompi_mpi_thread_provided ==
MPI_THREAD_MULTIPLE);
if (OMPI_ENABLE_PROGRESS_THREADS == 1 ||
OMPI_ENABLE_MPI_THREADS == 1) {
if ((OMPI_ENABLE_PROGRESS_THREADS == 1) ||
(*provided != MPI_THREAD_SINGLE)) {
opal_set_using_threads(true);
}