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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-08-16 00:49:25 -07:00
parent f9298649bb
commit e1128dc8eb

View File

@@ -61,6 +61,7 @@ newCThreadProcess(const char *name, ProcessFuncWrapper *func)
{
Process *p = new CThread(name, func);
scheduler.reg(p);
p->dontInitialize();
return p;
}