Gabe Black has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/c/public/gem5/+/13312 )
Change subject: systemc: Remove a redundant injectException for Thread's
throw_it.
......................................................................
systemc: Remove a redundant injectException for Thread's throw_it.
For some reason lost to the sands of time, the throw_it function was
virtual for the Thread class, and that class would call the base
class's throw_it, and then also injectException itself. That would
result in the exception being injected into the thread twice which is
incorrect.
Since it's not clear what the original intention of this code was, the
throw_it function is now no longer virtual, and the one useful aspect
of it, a check if the process is already terminated, was moved into the
base class function.
Change-Id: I7fb14baa7728bd1e9206011870b6ccaa9c4e8c64
---
M src/systemc/core/SConscript
M src/systemc/core/process.cc
M src/systemc/core/process.hh
D src/systemc/core/process_types.cc
M src/systemc/core/process_types.hh
5 files changed, 5 insertions(+), 53 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13312
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I7fb14baa7728bd1e9206011870b6ccaa9c4e8c64
Gerrit-Change-Number: 13312
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev