Lines Matching defs:threads
42 * Several threads are created to access and modify data arrays using
47 * Each one of the threads acquires a read lock to verify that the sum of
83 PRThread **threads;
122 threads = (PRThread**) PR_CALLOC(sizeof(PRThread*) * thread_cnt);
148 * create LOCAL and GLOBAL threads alternately
155 threads[cnt] = PR_CreateThread(PR_USER_THREAD,
161 if (threads[cnt] == NULL) {
168 threads[cnt]);
172 rc = PR_JoinThread(threads[cnt]);
177 PR_DELETE(threads);