From b955d8410f03c81aaac9406a8e335229bb8baf51 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 28 Sep 2008 13:25:57 +0100 Subject: [PATCH] set threads_started --- parallel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parallel.c b/parallel.c index badc75d..d9782df 100644 --- a/parallel.c +++ b/parallel.c @@ -62,6 +62,7 @@ void inparallel(const struct Vertices *vertices, r= pthread_create(&threads[s].thread,0,routine,&threads[s]); if (r) { errno=r; diee("pthread_create"); } } + threads_started= 1; } for (s=0; s