Supriya Ghosh (Editor)

Temporal Process Language

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In theoretical computer science, TPL (Temporal Process Language) is a process calculus which extends Robin Milner's CCS with the notion of multi-party synchronization, which allows multiple process to synchronize on a global 'clock'. This clock measures time, though not concretely, but rather as an abstract signal which defines when the entire process can step onward.

Contents

Informal definition

TPL is a conservative extension of CCS, with the addition of a special action called σ representing the passage of time by a process - the ticking of an abstract clock. As in CCS, TPL features action prefix and it can be described as being patient, that is to say a process a . P will idly accept the ticking of the clock, written as

a . P a a . P

Key to the use of abstract time is the timeout operator, which presents two processes, one to behave as if the clock ticks, one to behave as if it can't, i.e.

E ( F ) σ F

provided process E does not prevent the clock from ticking.

E ( F ) σ E

provided E can perform action a to become E'.

In TPL, there are two ways to prevent the clock from ticking. First is via the presence of the ω operator, for example in process a . P + Ω the clock is prevented from ticking. It can be said that the action a is insistent, i.e. it insists on acting before the clock can tick again.

The second way in which ticking can be prevented is via the concept of maximal-progress, which states that silent actions (i.e. τ actions) always take precedence over and thus suppress σ actions. Thus is two parallel processes are capable of synchronizing at a given instant, it is not possible for the clock to tick.

Thus a simple way of viewing multi-party synchronization is that a group of composed processes will allow time to pass provided none of them prevent it, i.e. the system agrees that it is time to move on.

Syntax

Let a be a non-silent action name, α be any action name (including τ, the silent action) and X be a process label used for recursion.

P r o c ::= α . P r o c | P r o c ( P r o c ) | P r o c + P r o c | P r o c | P r o c | r e c X . P r o c | X | Ω | P r o c a | 0

References

Temporal Process Language Wikipedia