diff options
Diffstat (limited to 'Test/og/linear-set.bpl')
-rw-r--r-- | Test/og/linear-set.bpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/og/linear-set.bpl b/Test/og/linear-set.bpl index c2f792ef..96aca741 100644 --- a/Test/og/linear-set.bpl +++ b/Test/og/linear-set.bpl @@ -21,7 +21,7 @@ ensures xls == MapOr(xls1, xls2) && xls1 != None() && xls2 != None(); procedure Allocate() returns ({:linear "tid"} xls: [X]bool);
-procedure {:entrypoint} main({:linear "tid"} tidls': [X]bool, {:linear "x"} xls': [X]bool)
+procedure {:entrypoint} {:yields} main({:linear "tid"} tidls': [X]bool, {:linear "x"} xls': [X]bool)
requires tidls' != None() && xls' == All();
{
var {:linear "tid"} tidls: [X]bool;
@@ -46,7 +46,7 @@ requires tidls' != None() && xls' == All(); async call thread(lsChild, xls2);
}
-procedure thread({:linear "tid"} tidls': [X]bool, {:linear "x"} xls': [X]bool)
+procedure {:yields} {:stable} thread({:linear "tid"} tidls': [X]bool, {:linear "x"} xls': [X]bool)
requires tidls' != None() && xls' != None();
{
var {:linear "x"} xls: [X]bool;
|