chiark / gitweb /
set threads_started
authorIan Jackson <ian@davenant.relativity.greenend.org.uk>
Sun, 28 Sep 2008 12:25:57 +0000 (13:25 +0100)
committerIan Jackson <ian@davenant.relativity.greenend.org.uk>
Sun, 28 Sep 2008 12:25:57 +0000 (13:25 +0100)
parallel.c

index badc75d..d9782df 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++) {