systemc: When stopping immediately, block new processes/updates.
authorGabe Black <gabeblack@google.com>
Sun, 2 Sep 2018 01:27:02 +0000 (18:27 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 3 Oct 2018 00:50:23 +0000 (00:50 +0000)
commit026b3f909e6eb180f1fffb1a1c05317224f1ca29
tree7253a36da197b6f6851f6844dd8e1015c9903982
parent62a63151e58d6d51651af82fd7e7b9ba2de570e9
systemc: When stopping immediately, block new processes/updates.

When stopping immediately, we're supposed to finish the current
process but not run any other processes or go to the update phase. The
rest of the process could introduce new processes or request new
updates, so we need to make sure we block those if we're in the process
of stopping.

Change-Id: I9cc867d294cf171dfedb4b9d43fbc167c2057de8
Reviewed-on: https://gem5-review.googlesource.com/c/12466
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh