Lines Matching defs:thread

45 **              other half have their own condvar. The main thread then loops
78 PRThread *thread;
111 printf("shared thread %ld notified in loop %ld\n", info->id, index);
122 printf("shared thread %ld terminating\n", info->id);
136 DPRINTF(("PrivateCondVarThread: thread 0x%lx waiting on cvar = 0x%lx\n",
141 printf("solo thread %ld notified in loop %ld\n", info->id, index);
149 DPRINTF(("PrivateCondVarThread: thread 0x%lx notified exitcvar = 0x%lx cnt = %ld\n",
154 printf("solo thread %ld terminating\n", info->id);
182 info->thread = PR_CreateThread(
190 if (!info->thread)
191 PL_PrintError("error creating thread\n");
230 DPRINTF(("CondVarTestSUU: created thread 0x%lx\n",list[index].thread));
240 DPRINTF(("PrivateCondVarThread: thread 0x%lx notified cvar = 0x%lx\n",
255 PR_JoinThread(list[index].thread);
329 PR_JoinThread(list[index].thread);
377 DPRINTF(("CondVarTestPUU: created thread 0x%lx\n",list[index].thread));
395 DPRINTF(("CondVarTestPUU: thread 0x%lx waiting on exitcvar = 0x%lx cnt = %ld\n",
406 DPRINTF(("CondVarTestPUU: joining thread 0x%lx\n",list[index].thread));
407 PR_JoinThread(list[index].thread);
488 PR_JoinThread(list[index].thread);
621 PR_JoinThread(list[index].thread);
733 PR_JoinThread(list[index].thread);
836 /* Notify every 3rd thread */
859 PR_JoinThread(list[index].thread);
959 thread then loops notifying them to wakeup. \n\
965 third thread is notified, the other threads are expected to timeout \n\
968 Lastly, the combined test creates a thread for each of the above three \n\
983 /* Mac heaps can't handle thread*4 stack allocations at a time for (10, 15, 20)*4 */