Searched hist:13156 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/systemc/core/
H A Dkernel.ccdiff 13156:b3185074b0df Tue Sep 04 18:09:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Ensure sc_stop during callbacks actually stops.

Make sure calling sc_stop during the appropriate callbacks will
actually skip future action by skipping later callbacks, by flushing
the scheduler before running init (so it doesn't really do anything
but record that it's in running mode now), and schedule the stop event.

Change-Id: I5edfbceda457df88d15bfcac4d97e8578205ec5b
Reviewed-on: https://gem5-review.googlesource.com/c/12468
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

Completed in 10 milliseconds