Commit db225aa3 authored by Daniel Vetter's avatar Daniel Vetter

tests/gem_flink_race: correct thread count

They all race against each another, no worker-slave relationship
like in the other subtest.
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <>
parent bc62a64b
......@@ -164,9 +164,7 @@ static void test_flink_close(void)
int obj_count = get_object_count();
void *status;
num_threads = sysconf(_SC_NPROCESSORS_ONLN) - 1;
if (!num_threads)
num_threads = 1;
num_threads = sysconf(_SC_NPROCESSORS_ONLN);
threads = calloc(num_threads, sizeof(pthread_t));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment