21 int ParRun(
void *(*start)(
void *), std::vector<void *> arg);
22 int ParRun(
void *(*start)(
void *),
void **arg);
26 static void Decompose(
int n,
int size,
int rank,
int *offset,
int *length);
34 pthread_t * threads_c;
35 pthread_attr_t attr_c;
36 pthread_cond_t cond_c;
37 pthread_mutex_t barrier_lock_c;
38 pthread_mutex_t mutex_lock_c;
int GetNumThreads() const
int ParRun(void *(*start)(void *), void **arg)
EasyThreads(int nthreads)
int ParRun(void *(*start)(void *), std::vector< void * > arg)
static void Decompose(int n, int size, int rank, int *offset, int *length)