Hi,
I\'m using Scala 2.10 with the new futures library and I\'m trying to write some code to test an infinite loop. I use a scala.concurrent.Future to r
scala.concurrent.Future
No - you will have to add a flag that your loop checks. If the flag is set, stop the loop. Make sure the flag is at least volatile.
volatile
See Java Concurrency in Practice, p 135-137.