Home | History | Annotate | Download | only in progs

Lines Matching defs:MAX_THREAD

81 #define MAX_THREAD	1024
82 /* Use same array for readers and writers, offset writers by MAX_THREAD */
83 int rt_pass[MAX_THREAD*2];
84 int rt_fail[MAX_THREAD*2];
85 int *rwt_pass = rt_pass + MAX_THREAD;
86 int *rwt_fail = rt_fail + MAX_THREAD;
87 ldap_pvt_thread_t rtid[MAX_THREAD*2], *rwtid = rtid + MAX_THREAD;
214 if (rwthreads > MAX_THREAD)
215 rwthreads = MAX_THREAD;
222 if (threads > MAX_THREAD)
223 threads = MAX_THREAD;
287 snprintf(outstr, BUFSIZ, "Created RW thread %d", i + MAX_THREAD);
318 snprintf(outstr, BUFSIZ, "RW thread %d pass=%d fail=%d", i + MAX_THREAD,