Go backward to start(): Eager Thread Creation (Binding Form)
Go up to Basics

Wait(): Waiting for a Thread Result

R Wait(t)
      Thread<R> t
      Threadn<R, A_1, ..., A_n> 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.


Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp

Prev Up