} while(node != NULL);
//have to abort to avoid deadlock
- transAbortProcess(oidwrlocked, numoidwrlocked);
+ transAbortProcess(oidwrlocked, numoidwrtotal);
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;
if(header->lock>0) { //not write locked
if(version != header->version) { /* versions do not match */
oidrdlocked[numoidrdlocked++] = header;
+#ifdef DELAYCOMP
+ transAbortProcess(oidwrlocked, numoidwrtotal);
+#else
transAbortProcess(oidwrlocked, numoidwrlocked);
+#endif
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;
if(version == header->version) {
softabort=1;
}
+#ifdef DELAYCOMP
+ transAbortProcess(oidwrlocked, numoidwrtotal);
+#else
transAbortProcess(oidwrlocked, numoidwrlocked);
+#endif
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;
} while(node != NULL);
//have to abort to avoid deadlock
- transAbortProcess(oidwrlocked, numoidwrlocked);
+ transAbortProcess(oidwrlocked, numoidwrtotal);
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;
unsigned int version=oidrdversion[i];
if(header->lock>=0) {
if(version != header->version) {
+#ifdef DELAYCOMP
+ transAbortProcess(oidwrlocked, numoidwrtotal);
+#else
transAbortProcess(oidwrlocked, numoidwrlocked);
+#endif
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;
if(version == header->version) {
softabort=1;
}
+#ifdef DELAYCOMP
+ transAbortProcess(oidwrlocked, numoidwrtotal);
+#else
transAbortProcess(oidwrlocked, numoidwrlocked);
+#endif
#ifdef STMSTATS
ABORTCOUNT(header);
(typesCausingAbort[TYPE(header)])++;