Lines Matching refs:workers
420 if (verbose() && !env.workers) in test__end_subtest()
830 env->workers = atoi(arg); in parse_arg()
831 if (!env->workers) { in parse_arg()
836 env->workers = get_nprocs(); in parse_arg()
1008 for (i = 0; i < env.workers; i++) in sigint_handler()
1370 dispatcher_threads = calloc(sizeof(pthread_t), env.workers); in server_main()
1371 data = calloc(sizeof(struct dispatch_data), env.workers); in server_main()
1373 env.worker_current_test = calloc(sizeof(int), env.workers); in server_main()
1374 for (i = 0; i < env.workers; i++) { in server_main()
1387 for (i = 0; i < env.workers; i++) { in server_main()
1428 for (i = 0; i < env.workers; i++) { in server_main()
1688 env.workers = 0; in main()
1692 if (env.workers) { in main()
1693 env.worker_pids = calloc(sizeof(__pid_t), env.workers); in main()
1694 env.worker_socks = calloc(sizeof(int), env.workers); in main()
1696 fprintf(stdout, "Launching %d workers.\n", env.workers); in main()
1697 for (i = 0; i < env.workers; i++) { in main()