summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/core/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/core/process.cc b/src/systemc/core/process.cc
index 78bbf91d5..d8ed5ffba 100644
--- a/src/systemc/core/process.cc
+++ b/src/systemc/core/process.cc
@@ -183,14 +183,14 @@ Process::reset(bool inc_kids)
return;
+ _resetEvent.notify();
+
if (_needsStart) {
scheduler.runNow(this);
} else {
_isUnwinding = true;
injectException(resetException);
}
-
- _resetEvent.notify();
}
void