33a34
> #include "systemc/core/scheduler.hh"
90,91c91,93
< } else if (false /* TODO Check if a process is running */) {
< // The process is our parent.
---
> } else if (scheduler.current()) {
> // Our parent is the currently running process.
> parent = scheduler.current();