From 2c4330e7c01cf404406dd3380e64304460b29b02 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 5 Oct 2020 23:03:03 +0200 Subject: added doc on thread & executor --- lib/executor.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/executor.cc') 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 t) { mThreads.push_front(std::move(t)); mThreads.front()->mExecutor = this; -- cgit v1.2.3