notnil / chess

chess package for go
MIT License
517 stars 130 forks source link

Add uci.Engine.Renice() #124

Open mikeb26 opened 1 year ago

mikeb26 commented 1 year ago

This change adds a Renice() method receiver to uci.Engine. This enables callers to specify that the engine should be run at a lower priority. In practice this is helpful in improving system responsiveness when running the engine with high thread counts and/or larger hash sizes.

(cherry picked from commit 92c19038af6ce77a985384e1081b920345cd417c)