Fix stop condition handling (modular simulator)
authorPascal Merz <pascal.merz@me.com>
Tue, 22 Oct 2019 17:40:26 +0000 (11:40 -0600)
committerPascal Merz <pascal.merz@colorado.edu>
Tue, 22 Oct 2019 21:56:41 +0000 (23:56 +0200)
commit8ffa93c57adbc71fe648f175b66776ef24392e09
tree1ce2366e0aab5711c20f2da04c322b91ba73f3b6
parentb5d7ccdba45a8c0e81769ba10b504cc6ccf74f57
Fix stop condition handling (modular simulator)

Fixes a bug that would signal the stop condition repeatedly when
the second SIGINT was received, effectively keeping the simulation
from stopping by repeatedly delaying the last step to the following
step.

Change-Id: Ie0de7b893ff53ccb09e285cb1b84e01594f581d5
src/gromacs/modularsimulator/signallers.cpp
src/gromacs/modularsimulator/signallers.h