Skip to content

Add uci.Engine.Getpid() - #50

Merged
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:renice
Jul 11, 2025
Merged

Add uci.Engine.Getpid()#50
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:renice

Conversation

@mikeb26

@mikeb26 mikeb26 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

This change adds a Getpid() method receiver to uci.Engine. This enables callers to interact with the engine process directly. For example callers may renice the process to allow the engine to 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 3899b2d7783f6f40d3681dfbf152048d0dc05fa1)

This change adds a Getpid() method receiver to uci.Engine. This
enables callers to interact with the engine process directly. For
example callers may renice the process to allow the engine to 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 3899b2d7783f6f40d3681dfbf152048d0dc05fa1)
@CorentinGS
CorentinGS merged commit 3e0b7d4 into CorentinGS:main Jul 11, 2025
6 checks passed
@mikeb26
mikeb26 deleted the renice branch July 11, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants