projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes to enable no caching and no prefetching by adding DCACHE flag to
[IRC.git]
/
Robust
/
src
/
Runtime
/
DSTM
/
interface
/
prelookup.c
diff --git
a/Robust/src/Runtime/DSTM/interface/prelookup.c
b/Robust/src/Runtime/DSTM/interface/prelookup.c
index 7e81d5f394fce7c65afbaa7755a7df8326399fd4..f003e0f1645a712112656cb056e7c50c8dabe67f 100644
(file)
--- a/
Robust/src/Runtime/DSTM/interface/prelookup.c
+++ b/
Robust/src/Runtime/DSTM/interface/prelookup.c
@@
-191,6
+191,7
@@
unsigned int prehashResize(unsigned int newsize) {
//Note: This is based on the implementation of the inserting a key in the first position of the hashtable
void prehashClear() {
//Note: This is based on the implementation of the inserting a key in the first position of the hashtable
void prehashClear() {
+#ifdef CACHE
int i, isFirstBin;
prehashlistnode_t *ptr, *prev, *curr;
int i, isFirstBin;
prehashlistnode_t *ptr, *prev, *curr;
@@
-220,5
+221,6
@@
void prehashClear() {
}
pflookup.hack2=pflookup.hack;
pflookup.hack=oldcache;
}
pflookup.hack2=pflookup.hack;
pflookup.hack=oldcache;
+#endif
}
}