Project

General

Profile

Feature #4356

Document the pattern that artdaq applications should use to correctly handle signals [ds50daq-related]

Added by Kurt Biery about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Category:
Documentation
Target version:
-
Start date:
07/17/2013
Due date:
07/31/2013
% Done:

100%

Estimated time:
Spent time:
Scope:
External
Experiment:
DarkSide
SSI Package:
Duration: 15

Description

Here is my interpretation of what we have discussed recently:

Document the pattern that should be used by executables that run art in a thread as part of a broader application and investigate whether existing artdaq/ds50daq executables are currently following this pattern. The goal is to have "signal handling within artdaq/ds50daq executables consistent and sufficient to lead to an orderly shutdown of the executables (including any art threads) as quickly as possible". [quote from an email from Chris]

This is connected to Issue #4353 in the ds50daq project.


Related issues

Related to ds50daq - Feature #4353: Ensure that disk files always get closed no matter how the DAQ is shut down [art-related]New07/17/201307/31/2013

Related to art - Bug #4458: art::shutdown_flag should be atomicClosed10/10/201310/10/2013

Related to art - Necessary Maintenance #4459: Signal handling should be reviewed to ensure that signals are always handled by the correct thread.Accepted09/30/2013

Related to art - Feature #4355: Document and verify the signal handling within art [ds50daq-related]Closed07/17/201307/31/2013

Related to artdaq - Bug #4083: Need to verify signal masking in multi-thread applicationsClosed06/12/2013

History

#1 Updated by Christopher Green about 7 years ago

  • Category set to Documentation
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Scope set to External
  • Experiment DarkSide added

The advice is subject to change as the facilities in art are improved, but is documented at Signal_handling_in_art.

#2 Updated by Christopher Green about 7 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF