Pipe-calculus: Difference between revisions

Line 91: Line 91:
* ''sequence'' <math>s \seq t</math> is a composite process that executes <math>s</math> before proceeding as <math>t</math> unless <math>s</math> fails. In that case the composite process also fails.
* ''sequence'' <math>s \seq t</math> is a composite process that executes <math>s</math> before proceeding as <math>t</math> unless <math>s</math> fails. In that case the composite process also fails.
* ''choice'' <math>s \alt t</math> is a forking process where one fork executes <math>s</math> while the other fork concurrently executes <math>t</math>. If one of the forks fail, the composite process is replaced by the other fork.
* ''choice'' <math>s \alt t</math> is a forking process where one fork executes <math>s</math> while the other fork concurrently executes <math>t</math>. If one of the forks fail, the composite process is replaced by the other fork.
* ''pipeline'' <math>s \pipe t</math> is a composite process that enforces unidirectional data flow. Input of the composite process is forwarded to the input of <math>s</math>, output of <math>s</math> is connected to the input of <math>t</math> and output of <math>t</math> is forwarded to the output of the composite process.
* ''pipeline'' <math>s \pipe t</math> is a composite process that enforces unidirectional, left to right data flow between its components.
* <math>\mathsf{succeed}</math> is a process that successfully terminated.
* <math>\mathsf{succeed}</math> is a process that successfully terminated.
* <math>\mathsf{fail}</math> is a process that failed.
* <math>\mathsf{fail}</math> is a process that failed.
283

edits