static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *reader_time;
static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *writer_time;
+static
void *thr_reader(void *arg)
{
- int i, j, ret;
+ unsigned int i, j;
+ int ret;
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",
}
+static
void *thr_writer(void *arg)
{
- int i, j, ret;
+ unsigned int i, j;
+ int ret;
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",