Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 294 Bytes
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <pthread.h>
#include "dynArray.h"
struct Data {
int lock;
int tested;
struct DynArr *primes;
};
int isPrime(int tested);
int isPrimeDA(int tested, struct DynArr *primes);
void isPrimeDAPara(void *data);
Something went wrong with that request. Please try again.