pthread_mutex_t rcu_copy_mutex = PTHREAD_MUTEX_INITIALIZER;
+static
void rcu_copy_mutex_lock(void)
{
int ret;
}
}
+static
void rcu_copy_mutex_unlock(void)
{
int ret;
ptr->a = ARRAY_POISON;
}
+static
void *thr_reader(void *_count)
{
unsigned long long *count = _count;
}
+static
void *thr_writer(void *_count)
{
unsigned long long *count = _count;
return ((void*)2);
}
+static
void show_usage(int argc, char **argv)
{
printf("Usage : %s nr_readers nr_writers duration (s) <OPTIONS>\n",