Lines Matching defs:threads
24 * with one or more threads simultaneously using the same connection.
25 * If -M is enabled, then M threads will also perform write operations.
33 /* Requires libldap with threads */
101 int threads = 1;
153 "[-m threads] "
154 "[-M threads] "
210 case 'M': /* the number of R/W threads */
218 case 'm': /* the number of threads */
219 if ( lutil_atoi( &threads, optarg ) != 0 ) {
222 if (threads > MAX_THREAD)
223 threads = MAX_THREAD;
275 snprintf(outstr, BUFSIZ, "Threads: RO: %d RW: %d", threads, rwthreads);
278 /* Set up read only threads */
279 for ( i = 0; i < threads; i++ ) {
284 /* Set up read/write threads */
293 /* wait for read only threads to complete */
294 for ( i = 0; i < threads; i++ )
296 /* wait for read/write threads to complete */
307 for ( i = 0; i < threads; i++ ) {
723 fprintf( stderr, "%s: not available when configured --without-threads\n", argv[0] );