Semantics : ThreadDeclaration

ThreadDeclaration  ::=  thread FUNCTION_NAME FormalParameters Block

Used by:  

A thread is defined much the same way as a function and started via the start keyword. Threads run in a different "context" and only global varibles and constants are shared across threads.

See StartThreadStatement.