diff options
Diffstat (limited to 'lib/executor.cc')
-rw-r--r-- | lib/executor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/executor.cc b/lib/executor.cc index 3d3c044..774354f 100644 --- a/lib/executor.cc +++ b/lib/executor.cc @@ -5,6 +5,10 @@ #include "arch.h" namespace nMatcha { + const void* Executor::getStackPtr() const { + return mStackPtr; + } + void Executor::spawn(std::unique_ptr<Thread> t) { mThreads.push_front(std::move(t)); mThreads.front()->mExecutor = this; |