* make thread directory build with C++ compiler (at least, on OS X)
This commit was SVN r3195.
Этот коммит содержится в:
родитель
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;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user