aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-28 13:16:42 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-28 13:16:42 +1200
commit5de1d4d587ab2a655163f52d292a3eb982886331 (patch)
treedb97adf9d9ed8a7db1b0bb84d16ea733acb275a4 /fractal-gen.h
parent6287ffad1db78798eb67f0b73194ba465118bafd (diff)
downloadfractal-gen-5de1d4d587ab2a655163f52d292a3eb982886331.tar.xz
Fixing
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