remove libatomic
authorBrian Demsky <bdemsky@uci.edu>
Fri, 20 Jul 2012 05:42:46 +0000 (22:42 -0700)
committerBrian Norris <banorris@uci.edu>
Thu, 2 Aug 2012 17:12:44 +0000 (10:12 -0700)
Makefile
libatomic.cc [deleted file]
libatomic.h [deleted file]

index 7e3f84a..2d31611 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,11 @@ LIB_NAME=model
 LIB_SO=lib$(LIB_NAME).so
 
 USER_O=userprog.o
-USER_H=libthreads.h libatomic.h
+USER_H=libthreads.h
 
 MODEL_CC=libthreads.cc schedule.cc model.cc threads.cc librace.cc action.cc nodestack.cc clockvector.cc main.cc snapshot-interface.cc cyclegraph.cc datarace.cc impatomic.cc cmodelint.cc
 MODEL_O=libthreads.o schedule.o model.o threads.o librace.o action.o nodestack.o clockvector.o main.o snapshot-interface.o cyclegraph.o datarace.o impatomic.o cmodelint.o
-MODEL_H=libthreads.h schedule.h common.h libatomic.h model.h threads.h librace.h action.h nodestack.h clockvector.h snapshot-interface.h cyclegraph.h hashtable.h datarace.h config.h include/impatomic.h include/cstdatomic include/stdatomic.h cmodelint.h
+MODEL_H=libthreads.h schedule.h common.h model.h threads.h librace.h action.h nodestack.h clockvector.h snapshot-interface.h cyclegraph.h hashtable.h datarace.h config.h include/impatomic.h include/cstdatomic include/stdatomic.h cmodelint.h
 
 SHMEM_CC=snapshot.cc malloc.c mymemory.cc
 SHMEM_O=snapshot.o malloc.o mymemory.o
diff --git a/libatomic.cc b/libatomic.cc
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/libatomic.h b/libatomic.h
deleted file mode 100644 (file)
index c804fbc..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/** @file libatomic.h
- *  @brief Basic atomic operations to be exposed to user program.
- */
-
-#ifndef __LIBATOMIC_H__
-#define __LIBATOMIC_H__
-
-#include "memoryorder.h"
-
-#ifdef __cplusplus
-using std::memory_order;
-using std::memory_order_relaxed;
-using std::memory_order_acquire;
-using std::memory_order_release;
-using std::memory_order_acq_rel;
-using std::memory_order_seq_cst;
-extern "C" {
-#endif
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __LIBATOMIC_H__ */