projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0af96
)
bug fix
author
bdemsky
<bdemsky>
Wed, 2 Dec 2009 22:38:09 +0000
(22:38 +0000)
committer
bdemsky
<bdemsky>
Wed, 2 Dec 2009 22:38:09 +0000
(22:38 +0000)
Robust/src/Runtime/DSTM/interface/altmlookup.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/DSTM/interface/altmlookup.c
b/Robust/src/Runtime/DSTM/interface/altmlookup.c
index 498251870286e54f910604be8056c584fb255303..6d16047235c10ba4cd19b5785652de25d9612523 100644
(file)
--- a/
Robust/src/Runtime/DSTM/interface/altmlookup.c
+++ b/
Robust/src/Runtime/DSTM/interface/altmlookup.c
@@
-79,7
+79,7
@@
void *mhashSearch(unsigned int key) {
do {
if(node->key == key) {
void * tmp=node->val;
-
write
_unlock(lockptr);
+
read
_unlock(lockptr);
return tmp;
}
node = node->next;