Lines Matching refs:max_threads
94 max_threads = atoi (s); in DbeThreadPool()
95 if (max_threads < 0) in DbeThreadPool()
96 max_threads = 0; in DbeThreadPool()
97 if (_max_threads > 0 && max_threads < _max_threads) in DbeThreadPool()
98 max_threads = _max_threads; in DbeThreadPool()
102 max_threads = _max_threads; in DbeThreadPool()
103 if (max_threads < 0) in DbeThreadPool()
104 max_threads = DBE_NTHREADS_DEFAULT; in DbeThreadPool()
107 __LINE__, _max_threads, max_threads); in DbeThreadPool()
110 threads = new Vector <pthread_t>(max_threads); in DbeThreadPool()
131 q ? q->id : -1, queues_cnt, (int) threads->size (), max_threads); in get_queue()
144 if (max_threads == 0) in put_queue()
149 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
159 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
173 __LINE__, q->id, queues_cnt, (int) threads->size (), max_threads); in put_queue()
174 if (queues_cnt > threads->size () && threads->size () < max_threads) in put_queue()