Lines Matching defs:threads
23 /* Number of threads. */
26 /* When set, threads exit. */
31 /* Entry point for threads that setjmp/longjmp. */
50 /* Entry point for threads that try/catch. */
78 pthread_t threads[NTHREADS];
89 /* Half of the threads does setjmp/longjmp, the other half does
92 ret = pthread_create (&threads[i], NULL, thread_longjmp , NULL);
94 ret = pthread_create (&threads[i], NULL, thread_try_catch , NULL);
98 /* Wait until all threads are running. */
122 ret = pthread_join (threads[i], NULL);