\"\" \"\" \"\"
Go backward to Create(): Lazy Thread Creation
Go up to Basics
Go forward to create(): Lazy Thread Creation (Binding Form)
RISC-Linz logo

Start(): Eager Thread Creation

t = Threadn<R, A1, ..., An>::Start(f1, a1, ..., an)
      Threadn<R, A1, ..., An> t
      R (*f)(A1, ..., An)
      Ai ai

Specification: Returns a thread computing f(a1, ..., an).

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, A1, ..., An>(f1, a1, ..., an)

Author: Wolfgang Schreiner
Last Modification: April 12, 1997