Lines Matching defs:thread_limit
89 static int thread_limit = 0;
126 thread_limit = atoi(arg);
942 *result = thread_limit;
1396 thread_limit = DEFAULT_THREAD_LIMIT;
1415 if (thread_limit > MAX_THREAD_LIMIT) {
1419 "limit of", thread_limit);
1427 thread_limit, MAX_THREAD_LIMIT);
1429 thread_limit = MAX_THREAD_LIMIT;
1431 else if (thread_limit < 1) {
1435 "increasing to 1.", thread_limit);
1439 thread_limit);
1441 thread_limit = 1;
1448 first_thread_limit = thread_limit;
1450 else if (thread_limit != first_thread_limit) {
1456 thread_limit, first_thread_limit);
1458 thread_limit = first_thread_limit;
1461 if (ap_threads_per_child > thread_limit) {
1468 thread_limit, thread_limit);
1476 ap_threads_per_child, thread_limit);
1478 ap_threads_per_child = thread_limit;