From 5de1d4d587ab2a655163f52d292a3eb982886331 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 28 Jul 2015 13:16:42 +1200 Subject: Fixing --- fractal-gen.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'fractal-gen.h') diff --git a/fractal-gen.h b/fractal-gen.h index 656aeec..a4c0b76 100644 --- a/fractal-gen.h +++ b/fractal-gen.h @@ -40,17 +40,21 @@ typedef struct { - unsigned int core; - unsigned int cores; - unsigned int clust_id; - unsigned int clust_total; - unsigned int size; - double power; - unsigned int iterat; + volatile unsigned long idx; + unsigned long core; + unsigned long datasize; char* data; pthread_t thread; } data_section; +unsigned int cores; +unsigned int clust_id; +unsigned int clust_total; +unsigned int size; +unsigned int iterat; +double power; + + #include "algorithms.h" #endif -- cgit v1.1