Commit 2ff02ff3 authored by Dominik Charousset's avatar Dominik Charousset

fixed termination in akka benchmarks

parent 8f9b55a8
......@@ -125,6 +125,8 @@ object ActorCreation {
val system = ActorSystem()
system.actorOf(Props(new AkkaRootTestee(n))) ! GoAhead
global.latch.await
system.shutdown
System.exit(0)
}
else usage
}
......
......@@ -73,6 +73,8 @@ object MailboxPerformance {
override def run() { for (_ <- 0 until msgs) rcvRef ! Msg }
}).start
global.latch.await
system.shutdown
System.exit(0)
}
}
}
......@@ -243,6 +243,8 @@ object MixedCase {
for (_ <- 0 until numRings)
system.actorOf(Props(new AkkaChainMaster(s))) ! initMsg
global.latch.await
system.shutdown
System.exit(0)
}
else usage
}
......
Markdown is supported
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