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]);
630 deThreadArray* threads = tmpPool ? deThreadArray_create(tmpPool) : DE_NULL;
639 DE_TEST_ASSERT(deThreadArray_pushBack(threads, thread));
642 /* All threads created - let them do initialization. */
649 deThread thread = deThreadArray_get(threads, threadNdx);
670 /* #threads time #repeat */