Lines Matching full:threads
25 pthread_t *threads; in FIXTURE() local
51 self->threads = malloc(self->nthreads * sizeof(*self->threads)); in FIXTURE_SETUP()
52 ASSERT_NE(self->threads, NULL); in FIXTURE_SETUP()
59 free(self->threads); in FIXTURE_TEARDOWN()
115 * between nodes whilst other threads try and access them triggering the
124 SKIP(return, "Not enough threads or NUMA nodes available");
132 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
137 ASSERT_EQ(pthread_cancel(self->threads[i]), 0);
150 SKIP(return, "Not enough threads or NUMA nodes available");
184 SKIP(return, "Not enough threads or NUMA nodes available");
194 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
199 ASSERT_EQ(pthread_cancel(self->threads[i]), 0);