From e1128dc8eb4afefcf4dad5eb5f863e0da921960a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 16 Aug 2018 00:49:25 -0700 Subject: [PATCH] systemc: Don't run clocked thread processes during the init phase. Change-Id: I170d67fef61dd5536a842a1f64682d90ae7a1507 Reviewed-on: https://gem5-review.googlesource.com/12211 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/core/sc_module.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/systemc/core/sc_module.cc b/src/systemc/core/sc_module.cc index 1434f69f2..016b9edbe 100644 --- a/src/systemc/core/sc_module.cc +++ b/src/systemc/core/sc_module.cc @@ -61,6 +61,7 @@ newCThreadProcess(const char *name, ProcessFuncWrapper *func) { Process *p = new CThread(name, func); scheduler.reg(p); + p->dontInitialize(); return p; } -- 2.30.2