From: bdemsky Date: Wed, 2 Dec 2009 22:38:09 +0000 (+0000) Subject: bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92fcd162b43eefa90cb7b60cd205dcc4ecb15957;p=IRC.git bug fix --- 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;