diff options
Diffstat (limited to 'sources/examples/jolib/parallelOr.scala')
-rw-r--r-- | sources/examples/jolib/parallelOr.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/examples/jolib/parallelOr.scala b/sources/examples/jolib/parallelOr.scala index 620cf28212..c81de6b0e0 100644 --- a/sources/examples/jolib/parallelOr.scala +++ b/sources/examples/jolib/parallelOr.scala @@ -8,7 +8,7 @@ \* */ package examples.jolib; - +/* import concurrent.jolib._; import concurrent.SyncVar; @@ -41,17 +41,19 @@ object or extends Join { res(res.C()) } } - +*/ object parallelOr { def main(args: Array[String]): unit = { def loop: boolean = { while (true) {}; true }; +/* System.out.println("true || true = " + or(true, true)); System.out.println("false || false = " + or(false, false)); System.out.println("false || true = " + or(false, true)); System.out.println("true || false = " + or(true, false)); System.out.println("true || loop = " + or(true, loop)); System.out.println("loop || true = " + or(loop, true)); +*/ } } |