Mercurial > hg > nginx-quic
comparison src/core/ngx_rwlock.c @ 6335:96c4297375bc
Core: worker_cpu_affinity auto.
If enabled, workers are bound to available CPUs, each worker to once CPU
in order. If there are more workers than available CPUs, remaining are
bound in a loop, starting again from the first available CPU.
The optional mask parameter defines which CPUs are available for automatic
binding.
In collaboration with Vladimir Homutov.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 11 Jan 2016 19:23:17 +0300 |
parents | e769cc88f996 |
children | 12efcdcb8a4b |
comparison
equal
deleted
inserted
replaced
6334:b31928ca3870 | 6335:96c4297375bc |
---|