Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Fischer
emper
Commits
42d2c275
Commit
42d2c275
authored
Mar 21, 2022
by
Florian Schmaus
Browse files
[AbstractWorkStealingScheduler] assert in runtime system in pushBottom
parent
61a0da33
Changes
1
Hide whitespace changes
Inline
Side-by-side
emper/strategies/AbstractWorkStealingScheduler.cpp
View file @
42d2c275
...
...
@@ -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
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment