clean up
authorPeizhao Ou <peizhaoo@uci.edu>
Wed, 10 Sep 2014 16:00:33 +0000 (09:00 -0700)
committerPeizhao Ou <peizhaoo@uci.edu>
Wed, 10 Sep 2014 16:00:33 +0000 (09:00 -0700)
Makefile
benchmarks.mk
build.sh [deleted file]
seqlock/seqlock [deleted file]
spsc-bugfix/spsc-queue.cc

index 662ebce..e988a49 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
 DIRS := barrier mcs-lock mpmc-queue spsc-queue spsc-bugfix linuxrwlocks \
-       dekker-fences chase-lev-deque ms-queue chase-lev-deque-bugfix seqlock \
-       cliffc-hashtable treiber-stack
+       dekker-fences chase-lev-deque ms-queue chase-lev-deque-bugfix
 
 .PHONY: $(DIRS)
 
index 4f0031f..7f82f92 100644 (file)
@@ -8,8 +8,7 @@ UNAME = $(shell uname)
 LIB_NAME = model
 LIB_SO = lib$(LIB_NAME).so
 
-#BASE = ../..
-BASE = $(CDS_DIR)
+BASE = ../..
 INCLUDE = -I$(BASE)/include -I../include
 
 # C preprocessor flags
diff --git a/build.sh b/build.sh
deleted file mode 100755 (executable)
index d78b2e0..0000000
--- a/build.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-CHECKER_DIR=~/model-checker-priv/model-checker-priv
-
-if [ -z $1 ] ; then
-       echo "Use default CDS checker directory"
-else
-       CHECKER_DIR=$1
-fi
-
-make CDS_DIR=$CHECKER_DIR
diff --git a/seqlock/seqlock b/seqlock/seqlock
deleted file mode 100755 (executable)
index 32a01ab..0000000
Binary files a/seqlock/seqlock and /dev/null differ
index f8528a8..ada08ec 100644 (file)
@@ -6,6 +6,7 @@ spsc_queue<int> *q;
 
        void thread(unsigned thread_index)
        {
+               for (int i = 0; i < 40; i++) {
                if (0 == thread_index)
                {
                        q->enqueue(11);
@@ -15,6 +16,7 @@ spsc_queue<int> *q;
                        int d = q->dequeue();
                        RL_ASSERT(11 == d);
                }
+               }
        }
 
 int user_main(int argc, char **argv)