From a65dcc4547743b9867a6f62fa07e1606b6ae8ab5 Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flo@geekplace.eu> Date: Wed, 14 Sep 2016 09:51:50 +0200 Subject: [PATCH] It's context we steal --- emper/ContextManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emper/ContextManager.cpp b/emper/ContextManager.cpp index 262b60a9..57d6784a 100644 --- a/emper/ContextManager.cpp +++ b/emper/ContextManager.cpp @@ -31,7 +31,7 @@ Context* ContextManager::getFreeContext() { if (likely(poped)) return context; const workerid_t workerCount = runtime.getWorkerCount(); - // Fallback to queue-stealing. + // Fallback to context-stealing. workerid_t startWorkerId = Runtime::rand() % workerCount; for (workerid_t i = 0; i < workerCount; ++i) { workerid_t victim = (startWorkerId + i) % workerCount; -- GitLab