Lines Matching refs:workers
687 env->workers = atoi(arg); in parse_arg()
688 if (!env->workers) { in parse_arg()
693 env->workers = get_nprocs(); in parse_arg()
838 for (i = 0; i < env.workers; i++) in sigint_handler()
1107 dispatcher_threads = calloc(sizeof(pthread_t), env.workers); in server_main()
1108 data = calloc(sizeof(struct dispatch_data), env.workers); in server_main()
1110 env.worker_current_test = calloc(sizeof(int), env.workers); in server_main()
1111 for (i = 0; i < env.workers; i++) { in server_main()
1124 for (i = 0; i < env.workers; i++) { in server_main()
1207 for (i = 0; i < env.workers; i++) { in server_main()
1388 env.workers = 0; in main()
1392 if (env.workers) { in main()
1393 env.worker_pids = calloc(sizeof(__pid_t), env.workers); in main()
1394 env.worker_socks = calloc(sizeof(int), env.workers); in main()
1396 fprintf(stdout, "Launching %d workers.\n", env.workers); in main()
1397 for (i = 0; i < env.workers; i++) { in main()