\"\" \"\" \"\"
Go backward to start(): Eager Thread Creation (Binding Form)
Go up to Basics
RISC-Linz logo

Wait(): Waiting for a Thread Result

R Wait(t)
      Thread<R> t
      Threadn<R, A1, ..., An> t

Specification: Returns the result of the thread to which the handle t is bound.

Constraints: It is illegal to apply this function, if t is not bound to any thread.

Implementation: If the thread is still executing, the current thread is blocked until the thread result becomes available.


Author: Wolfgang Schreiner
Last Modification: April 12, 1997