projects
/
model-checker-benchmarks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes
[model-checker-benchmarks.git]
/
chase-lev-deque-bugfix
/
testcase5.c
diff --git
a/chase-lev-deque-bugfix/testcase5.c
b/chase-lev-deque-bugfix/testcase5.c
index 0d6d3e41ec23476aca3f90c0e0de09d14bdc3b4f..7baee41206798ccb8c7aa17e2a557c775ef95960 100644
(file)
--- a/
chase-lev-deque-bugfix/testcase5.c
+++ b/
chase-lev-deque-bugfix/testcase5.c
@@
-13,6
+13,11
@@
int a;
int b;
int c;
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);
static void task(void * param) {
b=steal(q);
//c=steal(q);
@@
-24,12
+29,12
@@
int user_main(int argc, char **argv)
q=create();
push(q, 1);
q=create();
push(q, 1);
+ //push(q, 2);
+ //push(q, 3);
thrd_create(&t1, task, 0);
//thrd_create(&t2, task, 0);
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);
+
//
c=take(q);
thrd_join(t1);
//thrd_join(t2);
thrd_join(t1);
//thrd_join(t2);