Project

General

Profile

Feature #25392

Improve thread safety so that the Mu2e MT workarounds are not needed.

Added by Rob Kutschke about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
01/12/2021
Due date:
% Done:

100%

Estimated time:
Spent time:
Duration:

Description

Kyle implemented some workarounds in the Mu2e code to avoid race conditions parsing validated fhicl in an MT environment. See the pull request. https://github.com/Mu2e/Offline/pull/312 .

Mu2e requests that fhicl_cpp be made thread safe so that the workarounds are not needed.

History

#1 Updated by Kyle Knoepfel about 2 months ago

  • % Done changed from 0 to 100
  • Assignee set to Kyle Knoepfel
  • Status changed from New to Assigned

This has been implemented with commit fhicl-cpp:a0c9fd1. However, I'd like to discuss the use of thread-local storage with MT experts. Assuming no problems, this would be available as part of art 3.07.00.

#2 Updated by Kyle Knoepfel about 1 month ago

  • Target version set to 3.07.00
  • Status changed from Assigned to Resolved

It turns out the use of thread-local storage is not properly supported for e19:prof builds. A different implementation is thus provided with commit fhicl-cpp:a284b6.

Also available in: Atom PDF