Changes between Version 21 and Version 22 of ContractReduction


Ignore:
Timestamp:
05/01/15 11:52:17 (11 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContractReduction

    v21 v22  
    1515As in other contract specification language, this contract clause is used to specify a set of existing memory units.    The claim is that if an existing memory unit is not in the set, it will not be modified in the course of the function call.  The syntax is:
    1616{{{
    17 $assigns <memory-list>;
     17$assigns {<memory-list>}
    1818}}}
    1919where `<memory-list>` is a comma-separated list of expressions of type `$memory`.
     
    2929This contractual clause specifies part of the dependence relation used in POR.
    3030{{{
    31 $depends e ;
     31$depends {e}
    3232}}}
    3333where `e` is an expression of boolean type.   For each process `p`, the `e` can be evaluated in the context of `p`.   If `e` evaluates to `true`, then `p` must be included in an ample set containing a call to this function.
     
    132132
    133133{{{
    134 $guard <bool-expr> ;
     134$guard {<bool-expr>}
    135135}}}
    136136