Add support for real-time events and custom signal handlers #1096
Labels
Enhancement
in progress
Major Feature
A new feature that has broad impact on codebase and requires a minimum two week discussion period
Today, the only real (wall) time feature SST supports is the
--exit-after
command line option. We would like to add support for heartbeats and checkpoints on a real time interval rather than simulated time. In addition, we want to make it possible to register both user-supplied signal handlers and custom real-time events. We envision this being useful for debug, among other use cases.Our solution is as follows:
RealTimeManager
) to unify signal handling and real-time event handling. The class would manage setting SIGALRM for real-time events and would invoke handlers in response to signals (current list: SIGUSR1, SIGUSR2, SIGINT, SIGTERM, SIGALRM). The default handlers would be the same as today.RealTimeAction
s to trigger on signals.RealTimeAction
to allow user libraries to register signal handlers and recurring real-time eventsTest plan: Add a new test suite to sst-core to test signals and real-time events
The text was updated successfully, but these errors were encountered: