1
1

* make thread directory build with C++ compiler (at least, on OS X)

This commit was SVN r3195.
Этот коммит содержится в:
Brian Barrett 2004-10-18 15:41:40 +00:00
родитель 1b1702ce00
Коммит 61c8d9592f

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

@ -92,7 +92,7 @@ int ompi_thread_start(ompi_thread_t *t)
}
}
rc = pthread_create(&t->t_handle, NULL, t->t_run, t);
rc = pthread_create(&t->t_handle, NULL, (void*(*)(void*)) t->t_run, t);
return (rc == 0) ? OMPI_SUCCESS : OMPI_ERROR;
}