Searched refs:workers (Results 1 – 3 of 3) sorted by relevance
13 } *workers; variable42 struct child_worker *worker = &workers[round_robin_counter]; in on_new_connection()73 workers = calloc(cpu_count, sizeof(struct child_worker)); in setup_workers()75 struct child_worker *worker = &workers[cpu_count]; in setup_workers()
374 Turning now to the master, let's take a look at how the workers are launched to393 In setting up the workers, we use the nifty libuv function ``uv_cpu_info`` to394 get the number of CPUs so we can launch an equal number of workers. Again it is398 straightforward till here. The workers are launched and waiting for file
261 ``uv_cancel()`` to all the workers. ``uv_cancel()`` will return ``0`` for those that are already ex…286 A well designed program would have a way to terminate long running workers
Completed in 9 milliseconds