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()
120 * between nodes whilst other threads try and access them triggering the
129 SKIP(return, "Not enough threads or NUMA nodes available");
137 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
142 ASSERT_EQ(pthread_cancel(self->threads[i]), 0);
155 SKIP(return, "Not enough threads or NUMA nodes available");
189 SKIP(return, "Not enough threads or NUMA nodes available");
199 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
204 ASSERT_EQ(pthread_cancel(self->threads[i]), 0);
218 SKIP(return, "Not enough threads or NUMA nodes available");
255 SKIP(return, "Not enough threads or NUMA nodes available");
263 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
268 ASSERT_EQ(pthread_cancel(self->threads[i]), 0);
281 SKIP(return, "Not enough threads or NUMA nodes available");