X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=chase-lev-deque-bugfix%2Ftestcase5.c;h=7baee41206798ccb8c7aa17e2a557c775ef95960;hb=d634d19b6134309ed0893c6fd58d815cbafecd16;hp=f171a394fca62ea310a1e4114d5299af0e7135a3;hpb=7af936f607d179d4c9df6fa64df17cf30c6f8e59;p=model-checker-benchmarks.git diff --git a/chase-lev-deque-bugfix/testcase5.c b/chase-lev-deque-bugfix/testcase5.c index f171a39..7baee41 100644 --- a/chase-lev-deque-bugfix/testcase5.c +++ b/chase-lev-deque-bugfix/testcase5.c @@ -13,6 +13,11 @@ int a; int b; int c; +/** Make w14 release, try to run with the following: + time ./run.sh chase-lev-deque-bugfix/testcase5_wildcard -m2 -y -u3 -tSCFENCE + -o fchase-lev-deque-bugfix/result4.txt -o weaken -x5000 +*/ + static void task(void * param) { b=steal(q); //c=steal(q); @@ -24,11 +29,11 @@ int user_main(int argc, char **argv) q=create(); push(q, 1); + //push(q, 2); + //push(q, 3); thrd_create(&t1, task, 0); //thrd_create(&t2, task, 0); - push(q, 2); - //push(q, 3); - //a=take(q); + a=take(q); //c=take(q); thrd_join(t1); //thrd_join(t2);