Do not nice nice-aware adapters
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 17 Jun 2019 11:55:52 +0000 (13:55 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 17 Jun 2019 11:55:52 +0000 (13:55 +0200)
commit6b605eb76af34278861a1810cc467dbb1726daea
tree67c6ea658a97acbea1aae1eef672ec35c01cb649
parent4649214a853d69c14d2c22ea8d2709e41c5110e1
Do not nice nice-aware adapters

It is the engine process we want to run at lower priority, not the
adapter it is running through. So if we know the engine is running
through an adapter, because we invoked it ourselves due to -f/sUCI,
and we pass the adapter the value of the -niceEngines option (presumably
for it to set the priority of the engine it forks off by itself),
we refrain from nicing it.
backend.c