[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

The spawn Statement

The spawn keyword creates a thread that begins execution at the function supplied as its operand. For example:

	spawn func(1, 2);

This statement starts a thread at the function named func and passes it two arguments. The current thread continues execution at the statement following the spawn statement.



[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.