blob: afa31aa5d7f5a9757bbededc4802853e2e41d1bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import scala.collection.parallel.immutable.ParSet
object Test {
def main(args: Array[String]): Unit = {
for (i <- 1 to 2000) test()
}
def test() {
ParSet[Int]((1 to 10000): _*) foreach (x => ()) // hangs non deterministically
}
}
|