diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-06-06 23:11:34 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-06-06 23:11:34 +1200 |
commit | 7b5eb54e54aad01383912d2e67b996402eb9a602 (patch) | |
tree | f26e094dc944fb13a9035ad7c3d77e62d36c0e44 /fractal-gen.h | |
parent | a157d1890add21eceddae2adee6213f302bc1bd2 (diff) | |
download | fractal-gen-7b5eb54e54aad01383912d2e67b996402eb9a602.tar.xz |
Updated Makefile, added missing files
Diffstat (limited to 'fractal-gen.h')
-rw-r--r-- | fractal-gen.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fractal-gen.h b/fractal-gen.h new file mode 100644 index 0000000..99d41ff --- /dev/null +++ b/fractal-gen.h @@ -0,0 +1,28 @@ +#ifndef FRACTAL_GEN_H +#define FRACTAL_GEN_H + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <complex.h> +#include <math.h> +#include <unistd.h> +#include <pthread.h> +#include <assert.h> + +typedef struct +{ + unsigned int core; + unsigned int cores; + unsigned int size; + double power; + unsigned int iterat; + char* data; + pthread_t thread; +} data_section; + +void *generate_mbrot_section(void *d); +void *generate_bship_section(void *d); + + +#endif |