Skip to content
Snippets Groups Projects

Fix bugs in ThreadPoolSvc

Merged Illya Shapoval requested to merge ishapova/Gaudi:fix-threadpoolsvc into master
All threads resolved!

Fix bugs:

  • avoid loosing one worker thread in the TBB global thread pool when ThreadPoolSvc is configured to use all available hardware threads;
  • initialize boost::barrier with correct counter to avoid leaving one ThreadInitTask in limbo at the termination of ThreadPoolSvc (this revealed itself as a deadlock with changes of !1067 (merged));
  • make ThreadPoolSvc set the right number of worker threads in Gaudi::Concurrency::ConcurrencyFlags.

Also:

  • remove unused headers and narrow down used ones in ThreadPoolSvc;
  • change the AvalancheSchedulerSvc's help message about worker thread pool size to reflect what is actually going on in the ThreadPoolSvc.
Edited by Illya Shapoval

Merge request reports

Loading
Loading

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