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

/bind-9.11.3/bin/tests/
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 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 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 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...]
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 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) ==
/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...]
/bind-9.11.3/lib/isc/include/isc/
H A Dtask.h656 unsigned int workers, unsigned int default_quantum,
659 isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
667 *\li 'workers' in the number of worker threads to create. In general,
669 * The 'workers' value is advisory only. An attempt will be made to
670 * create 'workers' threads, but if at least one thread creation
681 *\li workers > 0
800 (*isc_taskmgrcreatefunc_t)(isc_mem_t *mctx, unsigned int workers,
/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/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);

Completed in 1085 milliseconds