34a35
> #include "systemc/core/process.hh"
37a39,61
> namespace sc_gem5
> {
>
> Process *
> newMethodProcess(const char *name, ProcessFuncWrapper *func)
> {
> return new Method(name, func);
> }
>
> Process *
> newThreadProcess(const char *name, ProcessFuncWrapper *func)
> {
> return new Thread(name, func);
> }
>
> Process *
> newCThreadProcess(const char *name, ProcessFuncWrapper *func)
> {
> return new CThread(name, func);
> }
>
> } // namespace sc_gem5
>
137c161
< sc_object(sc_gem5::currentModule()->name()),
---
> sc_object(sc_gem5::newModule()->name()),