Searched defs:workers (Results 1 - 2 of 2) sorted by relevance
/systemd/src/udev/ |
H A D | udevd.c | 80 Hashmap *workers; member in struct:Manager 193 hashmap_remove(worker->manager->workers, PID_TO_PTR(worker->pid)); 206 HASHMAP_FOREACH(worker, manager->workers, i) 209 manager->workers = hashmap_free(manager->workers); 232 r = hashmap_ensure_allocated(&manager->workers, NULL); 236 r = hashmap_put(manager->workers, PID_TO_PTR(pid), worker); 559 HASHMAP_FOREACH(worker, manager->workers, i) { 577 if (hashmap_size(manager->workers) >= arg_children_max) { 579 log_debug("maximum number (%i) of children reached", hashmap_size(manager->workers)); [all...] |
/systemd/src/libsystemd/sd-resolve/ |
H A D | sd-resolve.c | 72 pthread_t workers[WORKERS_MAX]; member in struct:sd_resolve 447 r = pthread_create(&resolve->workers[resolve->n_valid_workers], NULL, thread_worker, resolve); 585 pthread_join(resolve->workers[i], NULL);
|
Completed in 16 milliseconds