Commit 42d2c275 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[AbstractWorkStealingScheduler] assert in runtime system in pushBottom

parent 61a0da33
......@@ -292,6 +292,8 @@ auto AbstractWorkStealingScheduler::nextFiberResultFromMpscQueueOrWorkStealing()
}
auto AbstractWorkStealingScheduler::pushBottom(AbstractFiber& fiber) -> bool {
emper::assertInRuntime();
auto pushed = queue.pushBottom(&fiber);
if (pushed) [[likely]] {
onNewWork<CallerEnvironment::EMPER>(emper::FiberHint{emper::FiberSource::local});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment