From: bdemsky Date: Mon, 23 Feb 2009 00:13:04 +0000 (+0000) Subject: changes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=72e8f97587a2c1ba15ab3690b2f0c34cf75225c4;p=IRC.git changes --- diff --git a/Robust/src/Runtime/DSTM/interface/trans.c b/Robust/src/Runtime/DSTM/interface/trans.c index 43bcbf87..e0a16ae7 100644 --- a/Robust/src/Runtime/DSTM/interface/trans.c +++ b/Robust/src/Runtime/DSTM/interface/trans.c @@ -402,7 +402,8 @@ __attribute__((pure)) objheader_t *transRead(transrecord_t *record, unsigned int #ifdef ABORTREADERS if (record->abort) { //abort this transaction - printf("ABORTING\n"); + //printf("ABORTING\n"); + removetransactionhash(record->lookupTable, record); objstrDelete(record->cache); chashDelete(record->lookupTable); _longjmp(record->aborttrans,1); @@ -575,6 +576,7 @@ int transCommit(transrecord_t *record) { if (record->abort) { //abort this transaction printf("ABORTING TRANSACTION AT COMMIT\n"); + removetransactionhash(record->lookupTable, record); objstrDelete(record->cache); chashDelete(record->lookupTable); free(record);