Skip to content

Manage XBoard ponder thread lifecycle#16

Draft
RainRat wants to merge 1 commit intomasterfrom
codex/refactor-thread-handling-in-xboard
Draft

Manage XBoard ponder thread lifecycle#16
RainRat wants to merge 1 commit intomasterfrom
codex/refactor-thread-handling-in-xboard

Conversation

@RainRat
Copy link
Owner

@RainRat RainRat commented Sep 20, 2025

Summary

  • keep the ponder worker started by the XBoard state machine joinable and under explicit management
  • add helpers on the state machine to stop or join a running ponder worker before reuse or destruction
  • call the new shutdown helper when stopping the engine and during program exit to avoid dangling threads

Testing

  • not run (not provided)

https://chatgpt.com/codex/tasks/task_e_68cf1ed7c0288330a4a163b35c53817d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant