chiark / gitweb /
fake plastic imitation weights for XBITS==5
[moebius2.git] / parallel.c
index badc75d79b6f4a42bd4ed40b3dcaf69738bb8cc1..d9782dfde6952fd4988540b03bbcf064e4b2bf62 100644 (file)
@@ -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<NSECTIONS-1; s++) {