Re-architecture of art services in LArSoft to ensure thread safety
Gianluca Petrillo, Erica Snider and Jason Stock met with art team leader Kyle Knoepfel in December 2017 to continue the discussion of art service use cases within LArSoft in the context of thread safety. The discussion concluded with an agreement on how to re-architect a certain class of services (such as those that tag event-by-event transients in various electronics channels, and the calculation of event trigger times to be used in the global clock service) such that they are stateless, and therefore inherently thread safe, while still providing the capability of on-the-fly updates. The LArSoft team will work on an execution plan for this project.
#2 Updated by Erica Snider about 1 year ago
Erica, Paul Russo and Mike met on July 31 to discuss design details and thread safe programming methodologies. In the first phase of this project, Mike will work with consultation from Paul to demonstrate the process and the solution on a selected service, where candidates involve those that change state at event boundaries (e.g., those that contain conditions information).