Searched defs:workers (Results 1 - 10 of 10) sorted by relevance

/bind-9.11.3/bin/tests/
H A Drwlock_test.c97 isc_thread_t workers[100]; local
107 printf("%d workers\n", nworkers);
117 &workers[i]) ==
121 &workers[i]) ==
126 (void)isc_thread_join(workers[i], NULL);
H A Dtask_test.c66 unsigned int workers; local
72 workers = atoi(argv[1]);
73 if (workers < 1)
74 workers = 1;
75 if (workers > 8192)
76 workers = 8192;
78 workers = 2;
79 printf("%d workers\n", workers);
83 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
H A Dtimer_test.c97 unsigned int workers; local
102 workers = atoi(argv[1]);
103 if (workers < 1)
104 workers = 1;
105 if (workers > 8192)
106 workers = 8192;
108 workers = 2;
109 printf("%d workers\n", workers);
112 RUNTIME_CHECK(isc_taskmgr_create(mctx1, workers,
[all...]
H A Dbyaddr_test.c73 unsigned int workers = 2; local
105 workers = (unsigned int)atoi(isc_commandline_argument);
111 printf("%u workers\n", workers);
117 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr)
H A Dshutdown_test.c163 unsigned int workers; local
171 workers = atoi(argv[1]);
172 if (workers < 1)
173 workers = 1;
174 if (workers > 8192)
175 workers = 8192;
177 workers = 2;
178 printf("%d workers\n", workers);
184 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
H A Dbyname_test.c193 unsigned int workers = 2; local
221 workers = (unsigned int)atoi(isc_commandline_argument);
229 printf("%u workers\n", workers);
235 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr) ==
H A Dsock_test.c265 unsigned int workers; local
275 workers = atoi(argv[1]);
276 if (workers < 1)
277 workers = 1;
278 if (workers > 8192)
279 workers = 8192;
281 workers = 2;
282 printf("%d workers\n", workers);
299 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers,
[all...]
/bind-9.11.3/bin/tests/timers/
H A Dt_timers.c184 unsigned int workers; local
191 workers = 2;
194 workers = atoi(p);
225 isc_result = isc_taskmgr_create(mctx, workers, 0, &tmgr);
873 unsigned int workers; local
884 workers = 2;
887 workers = atoi(p);
915 isc_result = isc_taskmgr_create(mctx, workers, 0, &tmgr);
/bind-9.11.3/lib/isc/
H A Dtask.c135 unsigned int workers; member in struct:isc__taskmgr
225 isc__taskmgr_create(isc_mem_t *mctx, unsigned int workers,
1349 isc__taskmgr_create(isc_mem_t *mctx, unsigned int workers, argument
1360 REQUIRE(workers > 0);
1396 manager->workers = 0;
1398 workers * sizeof(isc_thread_t));
1446 * Start workers.
1448 for (i = 0; i < workers; i++) {
1450 &manager->threads[manager->workers]) ==
1454 isc_thread_setname(manager->threads[manager->workers],
2054 isc_taskmgr_createinctx(isc_mem_t *mctx, isc_appctx_t *actx, unsigned int workers, unsigned int default_quantum, isc_taskmgr_t **managerp) argument
2075 isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers, unsigned int default_quantum, isc_taskmgr_t **managerp) argument
[all...]
/bind-9.11.3/bin/tests/tasks/
H A Dt_tasks.c99 unsigned int workers; local
114 workers = 2;
117 workers = atoi(p);
118 if (workers < 1) {
119 t_info("Bad config value for ISC_TASK_WORKERS, %d\n", workers);
129 isc_result = isc_taskmgr_create(mctx, workers, 0, &manager);
493 unsigned int workers; local
502 workers = 2;
505 workers = atoi(p);
506 if (workers <
680 unsigned int workers; local
911 unsigned int workers; local
1128 unsigned int workers; local
1452 unsigned int workers; local
1878 unsigned int workers; local
2277 unsigned int workers; local
[all...]

Completed in 25 milliseconds