1
1
This commit was SVN r4196.
Этот коммит содержится в:
Brian Barrett 2005-01-27 23:11:01 +00:00
родитель f4b135a829
Коммит e724142970
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -149,7 +149,7 @@ static void *thread_main(void *arg)
int main(int argc, char *argv[])
{
int c;
#if HAVE_PTHREAD_H
#if OMPI_HAVE_POSIX_THREADS
int tid;
pthread_t *th;
#endif
@ -335,7 +335,7 @@ int main(int argc, char *argv[])
valint = 0;
/* -- create the thread set -- */
#if HAVE_PTHREAD_H
#if OMPI_HAVE_POSIX_THREADS
th = (pthread_t *) malloc(nthreads * sizeof(pthread_t));
if (!th) {
perror("malloc");

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

@ -45,7 +45,7 @@ static void* atomic_spinlock_start(void* arg)
int
atomic_spinlock_test_th(ompi_lock_t *lock, int count, int id, int thr_count)
{
#if HAVE_PTHREAD_H
#if OMPI_HAVE_POSIX_THREADS
pthread_t *th;
int tid, ret = 0;
struct start_info *data;