7 #include "model-assert.h"
16 static void task(void * param) {
18 printf("steal a=%d\n", a);
21 int user_main(int argc, char **argv)
26 thrd_create(&t1, task, 0);
27 //thrd_create(&t2, task, 0);
31 printf("take b=%d\n", b);
38 if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
40 if (b!=1 && b!=2 && b!=4 && b!= EMPTY)
42 if (c!=1 && c!=2 && c!=4 && a!= EMPTY)
44 if (a!=EMPTY && b!=EMPTY && c!=EMPTY && (a+b+c)!=7)
47 printf("a=%d b=%d c=%d\n",a,b,c);
48 MODEL_ASSERT(correct);