summaryrefslogtreecommitdiff
path: root/src/systemc/core/process.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/core/process.hh')
-rw-r--r--src/systemc/core/process.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/systemc/core/process.hh b/src/systemc/core/process.hh
index 579ea602f..7c75d6244 100644
--- a/src/systemc/core/process.hh
+++ b/src/systemc/core/process.hh
@@ -246,7 +246,7 @@ class Process : public ::sc_core::sc_object, public ListNode
{
public:
virtual ::sc_core::sc_curr_proc_kind procKind() const = 0;
- bool running() const { return _running; }
+ bool needsStart() const { return _needsStart; }
bool dynamic() const { return _dynamic; }
bool isUnwinding() const { return _isUnwinding; }
bool terminated() const { return _terminated; }
@@ -298,7 +298,8 @@ class Process : public ::sc_core::sc_object, public ListNode
static Process *newest() { return _newest; }
protected:
- Process(const char *name, ProcessFuncWrapper *func, bool _dynamic);
+ Process(const char *name, ProcessFuncWrapper *func, bool _dynamic,
+ bool needs_start);
static Process *_newest;
@@ -314,7 +315,7 @@ class Process : public ::sc_core::sc_object, public ListNode
ProcessFuncWrapper *func;
sc_core::sc_curr_proc_kind _procKind;
- bool _running;
+ bool _needsStart;
bool _dynamic;
bool _isUnwinding;
bool _terminated;