diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-09-24 18:28:17 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-09-24 18:28:17 +0000 |
commit | 92fc7b37b01bc871966a49524197c1cbbeec8988 (patch) | |
tree | 7fad3d6cff9bf825e7018d26407413988c9a04f4 /test | |
parent | 6fea2488af12d942c1cf7ba781d2f60fe6ddc9c0 (diff) | |
download | scala-92fc7b37b01bc871966a49524197c1cbbeec8988.tar.gz scala-92fc7b37b01bc871966a49524197c1cbbeec8988.tar.bz2 scala-92fc7b37b01bc871966a49524197c1cbbeec8988.zip |
Introduced actors package object to deprecate a...
Introduced actors package object to deprecate a number of
classes. Made ForkJoinScheduler more configurable and let it read
ThreadPoolConfig. Clean-ups in TerminationMonitor and ActorGC. Removed
DefaultExecutorScheduler. Made DelegatingScheduler and ExecutorScheduler
private. Deprecated MessageQueue and MessageQueueElement, so that we can
later make them private. Deprecated a number of methods in IScheduler.
Tightened access modifiers in Reactor.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/daemon-actor-termination.scala | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/test/files/jvm/daemon-actor-termination.scala b/test/files/jvm/daemon-actor-termination.scala index 7707ea8d4d..8e64749b1c 100644 --- a/test/files/jvm/daemon-actor-termination.scala +++ b/test/files/jvm/daemon-actor-termination.scala @@ -1,16 +1,7 @@ -import scala.actors.Actor -import scala.actors.scheduler.DefaultExecutorScheduler +import scala.actors.{Actor, DaemonActor} /* Test that a daemon Actor that hasn't finished does not prevent termination */ - -trait DaemonActor extends Actor { - override def scheduler = - Test.daemonSched -} - object Test { - val daemonSched = - new DefaultExecutorScheduler(true) class MyDaemon extends DaemonActor { def act() { |