pub fn pin_knearest_to_least_loaded(enabled: bool)Expand description
Place the k-nearest team workers on the least-loaded CPUs.
Off by default. A query does not read CPU counters or change affinity until this is set, and it does not consult an environment variable. Turning it off restores each worker to the mask it had before the pin. A team of one is the calling thread, pinned for the query only. Builds without the team query store the flag and leave placement alone.