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

Fix SimpleActorTest

The CPS already gets incremented by the
SynchronizedFiber. Initializing the CPS with FIBER_COUNT means that
the CPS will never become ready.
parent ee7fcf73
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ static void mainFiber(void* runtime_ptr) {
SumActor sumActor(runtime);
sumActor.start();
CPS cps(FIBER_COUNT);
CPS cps;
for (unsigned int i = 0; i < FIBER_COUNT; ++i) {
spawn([&sumActor, i] {
WDBG(Dispatcher::getCurrentFiber() << " starts to count to " << FIBERS_COUNT_TO);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment