Skip to content
Snippets Groups Projects
Commit ff70ca39 authored by Benedikt Hegner's avatar Benedikt Hegner
Browse files

Thread tool termination

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.

See merge request !142
parents cd03635f 00dc1e12
Branches
Tags
1 merge request!142Thread tool termination
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment