7 #include "model-assert.h"
16 /** Making CAS in steal() (w39) SC */
18 static void task(void * param) {
23 int user_main(int argc, char **argv)
31 thrd_create(&t1, task, 0);
32 thrd_create(&t2, task, 0);
40 if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
42 if (b!=1 && b!=2 && b!=4 && b!= EMPTY)
44 if (c!=1 && c!=2 && c!=4 && a!= EMPTY)
46 if (a!=EMPTY && b!=EMPTY && c!=EMPTY && (a+b+c)!=7)
49 printf("a=%d b=%d c=%d\n",a,b,c);
50 MODEL_ASSERT(correct);