Changed Supervisors actor map to hold a list of actors per class entry
This commit is contained in:
parent
86e656d416
commit
1f13030f90
6 changed files with 61 additions and 78 deletions
|
|
@ -19,6 +19,12 @@ object DataFlow {
|
|||
case object Start
|
||||
case object Exit
|
||||
|
||||
import java.util.concurrent.atomic.AtomicReference
|
||||
import java.util.concurrent.{ConcurrentLinkedQueue, LinkedBlockingQueue}
|
||||
|
||||
import se.scalablesolutions.akka.actor.Actor
|
||||
import se.scalablesolutions.akka.dispatch.CompletableFuture
|
||||
|
||||
def thread(body: => Unit) = {
|
||||
val thread = new IsolatedEventBasedThread(body).start
|
||||
thread send Start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue