From 92fcd162b43eefa90cb7b60cd205dcc4ecb15957 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 2 Dec 2009 22:38:09 +0000 Subject: [PATCH] bug fix --- Robust/src/Runtime/DSTM/interface/altmlookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/Runtime/DSTM/interface/altmlookup.c b/Robust/src/Runtime/DSTM/interface/altmlookup.c index 49825187..6d160472 100644 --- 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; -- 2.34.1