Go backward to Create(): Lazy Thread Creation
Go up to Basics
Go forward to create(): Lazy Thread Creation (Binding Form)

Start(): Eager Thread Creation

t = Threadn<R, A_1, ..., A_n>::Start(f_1, a_1, ..., a_n)
      Threadn<R, A_1, ..., A_n> t
      R (*f)(A_1, ..., A_n)
      A_i a_i

Specification: Returns a thread computing f(a_1, ..., a_n).

Implementation: The thread is not yet activated but is put into the lazy stack.

Note: If the preprocessor constant RT_THREAD_NOTLAZY is set, above form is equivalent to

t = Threadn<R, A_1, ..., A_n>(f_1, a_1, ..., a_n)

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

Prev Up Next