projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed : crashing due to pile creation
[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 64f756ba298760bcb1a4aec234321d11f538b66f..6eda49cf3e256f1cd4587cef622a27536c7bbaa3 100644
(file)
--- a/
Robust/src/Runtime/DSTM/interface/prelookup.c
+++ b/
Robust/src/Runtime/DSTM/interface/prelookup.c
@@
-27,7
+27,7
@@
unsigned int prehashCreate(unsigned int size, float loadfactor) {
//Initialize mutex var
pthread_mutex_init(&pflookup.lock, &pflookup.prefetchmutexattr);
//pthread_mutex_init(&pflookup.lock, NULL);
-
+ pthread_cond_init(&pflookup.cond, NULL);
return 0;
}