Lines Matching refs:workers
91 Hashmap *workers; member
208 hashmap_remove(worker->manager->workers, PID_TO_PTR(worker->pid)); in worker_free()
230 manager->workers = hashmap_free(manager->workers); in manager_clear_for_worker()
288 r = hashmap_ensure_put(&manager->workers, &worker_hash_op, PID_TO_PTR(pid), worker); in worker_new()
303 HASHMAP_FOREACH(worker, manager->workers) { in manager_kill_workers()
817 HASHMAP_FOREACH(worker, manager->workers) { in event_run()
833 if (hashmap_size(manager->workers) >= arg_children_max) { in event_run()
837 … log_debug("Maximum number (%u) of children reached.", hashmap_size(manager->workers)); in event_run()
1248 worker = hashmap_get(manager->workers, PID_TO_PTR(ucred->pid)); in on_worker()
1600 if (hashmap_isempty(manager->workers)) { in on_sigchld()
1632 if (!hashmap_isempty(manager->workers)) { in on_post()