Sather Home Page

Section 6.7.18:
Fork Statement

Forking in Sather is not the same as an operating system fork as in Unix or Linux. A thread of execution is created to execute the associated statement(s) rather than considering the statements to be separate from the fork.

Concrete Syntax

fork statement = Fork_SY, [At_SY, expression, Semicolon_SY],
statement list, End_SY ;

Abstract Syntax

Static Semantics

Dynamic Semantics


Specification Index Language Index Section 6 Index
Comments or enquiries should be made to Keith Hopper.
Page last modified: Wednesday, 25 April 2001.
Produced with Amaya