1
1
This commit was SVN r1757.
Этот коммит содержится в:
Jeff Squyres 2004-07-16 04:17:53 +00:00
родитель 6a26ebf6f9
Коммит 01995b40b4

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

@ -33,7 +33,7 @@ int ompi_thread_start(ompi_thread_t* t)
#if OMPI_HAVE_POSIX_THREADS
int rc;
#if OMPI_ENABLE_DEBUG
if(NULL == t->t_run || t->t_handle != -1)
if(NULL == t->t_run || t->t_handle != (pthread_t) -1)
return OMPI_ERR_BAD_PARAM;
#endif
rc = pthread_create(&t->t_handle, NULL, (pthread_start_fn_t)t->t_run, t);