Lines Matching refs:threads
274 /* Mutex and threads. */
302 deThread threads[2];
314 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++)
316 threads[ndx] = deThread_create(mutexTestThr2, &data, DE_NULL);
317 DE_TEST_ASSERT(threads[ndx]);
322 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++)
324 deBool ret = deThread_join(threads[ndx]);
326 deThread_destroy(threads[ndx]);
555 deThreadArray* threads = tmpPool ? deThreadArray_create(tmpPool) : DE_NULL;
564 DE_TEST_ASSERT(deThreadArray_pushBack(threads, thread));
567 /* All threads created - let them do initialization. */
574 deThread thread = deThreadArray_get(threads, threadNdx);
595 /* #threads time #repeat */