scala.concurrent

object ops

[source: scala/concurrent/ops.scala]

object ops
extends AnyRef
The object ops ...
Author
Martin Odersky, Stepan Koltsov
Version
1.0, 12/03/2003
Method Summary
def future [A](p : => A) : () => A
def par [A, B](xp : => A, yp : => B) : (A, B)
def replicate (start : Int, end : Int)(p : (Int) => Unit) : Unit
def spawn (p : => Unit) : Unit
Evaluates an expression asynchronously.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def spawn(p : => Unit) : Unit
Evaluates an expression asynchronously.
Parameters
p - the expression to evaluate

def future[A](p : => A) : () => A
Parameters
p - ...
Returns
...

def par[A, B](xp : => A, yp : => B) : (A, B)
Parameters
xp - ...
yp - ...
Returns
...

def replicate(start : Int, end : Int)(p : (Int) => Unit) : Unit
Parameters
start - ...
end - ...
p - ...