aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
blob: 99d41ffcb136f22db298df6371714540329e9034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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