This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Why does ForkJoinScheduler shut itself down when no actors?

No replies
Ittay Dror 2
Joined: 2010-05-05,
User offline. Last seen 42 years 45 weeks ago.

in ForkJoinScheduler#run:
if (allActorsTerminated) {
Debug.info(this+": all actors terminated")
terminating = true
throw new QuitControl
}

What is the reason to terminate the scheduler?

How can I keep it alive? (I use it for one-shot actors)

Ittay

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland