fix SIGUSR1 and SIGUSR2 by clearing the variables after

they're used

--HG--
extra : convert_revision : ed5351f291d45d585bf811a062e162e16b86e886
This commit is contained in:
Nathan Binkert
2007-04-18 08:04:46 -07:00
parent 68221b708c
commit d92fff858b

View File

@@ -92,10 +92,9 @@ simulate(Tick num_cycles)
if (async_event) {
async_event = false;
if (async_statdump || async_statreset) {
Stats::StatEvent(async_statdump, async_statreset);
async_statdump = false;
async_statreset = false;
Stats::StatEvent(async_statdump, async_statreset);
}
if (async_exit) {