summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemc/core/process_types.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemc/core/process_types.hh b/src/systemc/core/process_types.hh
index 7617d41ef..2dde4672a 100644
--- a/src/systemc/core/process_types.hh
+++ b/src/systemc/core/process_types.hh
@@ -94,6 +94,7 @@ class Thread : public Process
thread->_needsStart = false;
thread->run();
thread->terminate();
+ scheduler.yield();
}
};
friend class Context;