Skip to content
Snippets Groups Projects

Thread tool termination

Merged Steven Andrew Farrell requested to merge sfarrell/Gaudi:thread-tool-terminate into master

This set of changes completes the work started by @leggett in a875c69e on thread initialization tools. Such tools are invoked by the ThreadPoolSvc on each worker thread when the pool is initialized and can be used to setup thread-local workspaces in cases where necessary (e.g. for running multi-threaded Geant4).

These commits enable the thread-termination part of those tools for corresponding cleanup/finalization of thread-local memory. This is done primarily by adding a terminatePool method to IThreadPoolSvc which is called at the end of ForwardSchedulerSvc::activate. The ThreadPoolSvc underwent some slight refactoring to support the thread-termination tasks.

Also included in this merge request are a number of whitespace and indentation fixes, as well as some added class documentation in the affected classes.

Merge request reports

Checking pipeline status.

Approved by

Merged by avatar (Apr 23, 2025 3:13pm UTC)

Merge details

  • Changes merged into master with ff70ca39.
  • Deleted the source branch.

Pipeline #7623 passed

Pipeline passed for ff70ca39 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading