8 lines
130 B
C
8 lines
130 B
C
|
#include <stdio.h>
|
||
|
#include <pthread.h>
|
||
|
|
||
|
#define NTHREADS 4
|
||
|
#define NUM_ELEMS 12
|
||
|
|
||
|
#define ELEMS_PER_THREAD (NUM_ELEMS/NTHREADS)
|