[P4] action functions

Tejfel Máté matej at caesar.elte.hu
Wed Apr 29 17:21:25 CEST 2015


Amúgy szó szerint nézve a leírást:

P4 assumes parallel semantics for the application of all the primitive 
actions executing
as a result of a match in a given table.The execution of actions across 
different tables
assumes sequential semantics where the sequence is determined by the 
control flow.

Ez alapján úgy tűnik, hogy a más függvénybe szervezés pusztán 
szintaktikai kérdés...


2015-04-29 17:12 keltezéssel, Tejfel Máté írta:
> Sziasztok!
>
>   Előkerült, hogy mi lehet egy action function-ben. Nos a specifikáció 
> 30. oldalán ez van: "Action functions are built from primitive actions."
> Ugyanakkor a részletesebb leírásnál a 48. oldalon:
>
> The body of the function contains only:
> • Calls to primitive actions.
> • Calls to other action functions.
> • Recursion is not allowed.
>
> Persze ezek után jó kérdés, ki kivel fog szimultán végrehajtódni...
>
>               M.
> _______________________________________________
> P4 mailing list
> P4 at plc.inf.elte.hu
> https://plc.inf.elte.hu/mailman/listinfo/p4



More information about the P4 mailing list