merging stuff...made need to clean up some stuff...but need to push it somewhere...
[c11tester.git] / userprog.c
index 402cb0d29128aadef5cf67c71a8ca9cf976f4922..0948f0bc395a5d103963e99d81592ac6e2307072 100644 (file)
@@ -14,7 +14,7 @@ static void a(atomic_int *obj)
 
        for (i = 0; i < 2; i++) {
                printf("Thread %d, loop %d\n", thrd_current(), i);
-               switch (i % 4) {
+               switch (i  ) {
                case 1:
                        ret = atomic_load(obj);
                        printf("Read value: %d\n", ret);