diff options
Diffstat (limited to 'lib/executor.cc')
-rw-r--r-- | lib/executor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/executor.cc b/lib/executor.cc index bd068c6..3d3c044 100644 --- a/lib/executor.cc +++ b/lib/executor.cc @@ -22,5 +22,7 @@ namespace nMatcha { } } - void Executor::yield_to(const Thread* t) const { ::yield(t->mStackPtr, &mStackPtr); } + void Executor::yield_to(const Thread* t) const { + ::yield(t->mStackPtr, &mStackPtr); + } } // namespace nMatcha |