Skip to content
Snippets Groups Projects
Commit 453ff74c authored by Florian Schmaus's avatar Florian Schmaus
Browse files

s/anywhere_queue/anywhereQueue/ in FiberSource enums

parent b07218ea
Branches
No related tags found
1 merge request!72Minor fixes
......@@ -96,7 +96,7 @@ auto AbstractWorkStealingScheduler::nextFiberViaWorkStealing() -> std::pair<Fibe
std::memory_order_relaxed);
}
fiberSource = FiberSource::anywhere_queue;
fiberSource = FiberSource::anywhereQueue;
goto out;
}
......
......@@ -39,7 +39,7 @@ class AbstractWorkStealingScheduler : public Scheduler {
enum class FiberSource : uintptr_t {
local,
stolen,
anywhere_queue,
anywhereQueue,
};
protected:
......
......@@ -44,7 +44,7 @@ void LawsDispatcher::dispatchLoop() {
case LawsStrategy::FiberSource::stolen:
lawsStrategy.dispatchedFiberStolen.fetch_add(1, std::memory_order_relaxed);
break;
case LawsStrategy::FiberSource::anywhere_queue:
case LawsStrategy::FiberSource::anywhereQueue:
lawsStrategy.dispatchedFiberFromAnywhere.fetch_add(1, std::memory_order_relaxed);
break;
default:
......
......@@ -21,8 +21,8 @@ class LawsStrategy : public AbstractWorkStealingStrategy {
enum class FiberSource : uintptr_t {
local = static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::local),
stolen = static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::stolen),
anywhere_queue =
static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::anywhere_queue),
anywhereQueue =
static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::anywhereQueue),
fromPriority,
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment