Searched refs:workers (Results 1 - 11 of 11) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dtimer_test.c101 unsigned int workers; local
106 workers = atoi(argv[1]);
107 if (workers < 1)
108 workers = 1;
109 if (workers > 8192)
110 workers = 8192;
112 workers = 2;
113 printf("%d workers\n", workers);
116 RUNTIME_CHECK(isc_taskmgr_create(mctx1, workers,
[all...]
H A Drwlock_test.c96 isc_thread_t workers[100]; local
106 printf("%d workers\n", nworkers);
116 &workers[i]) ==
120 &workers[i]) ==
125 (void)isc_thread_join(workers[i], NULL);
H A Dshutdown_test.c170 unsigned int workers; local
178 workers = atoi(argv[1]);
179 if (workers < 1)
180 workers = 1;
181 if (workers > 8192)
182 workers = 8192;
184 workers = 2;
185 printf("%d workers\n", workers);
191 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
H A Dtask_test.c67 unsigned int workers; local
73 workers = atoi(argv[1]);
74 if (workers < 1)
75 workers = 1;
76 if (workers > 8192)
77 workers = 8192;
79 workers = 2;
80 printf("%d workers\n", workers);
84 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
H A Dsock_test.c257 unsigned int workers; local
267 workers = atoi(argv[1]);
268 if (workers < 1)
269 workers = 1;
270 if (workers > 8192)
271 workers = 8192;
273 workers = 2;
274 printf("%d workers\n", workers);
291 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
H A Dbyaddr_test.c81 unsigned int workers = 2; local
113 workers = (unsigned int)atoi(isc_commandline_argument);
119 printf("%u workers\n", workers);
125 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr)
H A Dbyname_test.c203 unsigned int workers = 2; local
231 workers = (unsigned int)atoi(isc_commandline_argument);
239 printf("%u workers\n", workers);
245 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr) ==
/bind-9.6-ESV-R11/bin/tests/tasks/
H A Dt_tasks.c101 unsigned int workers; local
116 workers = 2;
119 workers = atoi(p);
120 if (workers < 1) {
121 t_info("Bad config value for ISC_TASK_WORKERS, %d\n", workers);
131 isc_result = isc_taskmgr_create(mctx, workers, 0, &manager);
487 unsigned int workers; local
496 workers = 2;
499 workers = atoi(p);
500 if (workers <
674 unsigned int workers; local
905 unsigned int workers; local
1110 unsigned int workers; local
1435 unsigned int workers; local
1862 unsigned int workers; local
2262 unsigned int workers; local
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dtask.h556 isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
563 *\li 'workers' in the number of worker threads to create. In general,
565 * The 'workers' value is advisory only. An attempt will be made to
566 * create 'workers' threads, but if at least one thread creation
577 *\li workers > 0
/bind-9.6-ESV-R11/lib/isc/
H A Dtask.c109 unsigned int workers; member in struct:isc_taskmgr
1028 isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers, argument
1039 REQUIRE(workers > 0);
1045 UNUSED(workers);
1064 manager->workers = 0;
1066 workers * sizeof(isc_thread_t));
1102 * Start workers.
1104 for (i = 0; i < workers; i++) {
1106 &manager->threads[manager->workers]) ==
1108 manager->workers
[all...]
/bind-9.6-ESV-R11/bin/tests/timers/
H A Dt_timers.c194 unsigned int workers; local
201 workers = 2;
204 workers = atoi(p);
235 isc_result = isc_taskmgr_create(mctx, workers, 0, &tmgr);
885 unsigned int workers; local
896 workers = 2;
899 workers = atoi(p);
927 isc_result = isc_taskmgr_create(mctx, workers, 0, &tmgr);

Completed in 2243 milliseconds