aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'fractal-gen.h')
-rw-r--r--fractal-gen.h18
1 files changed, 11 insertions, 7 deletions
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