From dbf121daea6b78647aac46172e8574d46c30aab3 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 9 Oct 2009 11:00:41 +0000 Subject: [PATCH] more reorganization --- Robust/src/Runtime/STM/stats.c | 1 - Robust/src/Runtime/STM/tm.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/Runtime/STM/stats.c b/Robust/src/Runtime/STM/stats.c index 8c1e51e9..b08ccd75 100644 --- a/Robust/src/Runtime/STM/stats.c +++ b/Robust/src/Runtime/STM/stats.c @@ -4,7 +4,6 @@ #ifdef STMSTATS extern __thread threadrec_t *trec; extern __thread struct objlist * lockedobjs; -extern __thread int t_objnumcount=0; /* Collect stats for object classes causing abort */ extern objtypestat_t typesCausingAbort[TOTALNUMCLASSANDARRAY]; diff --git a/Robust/src/Runtime/STM/tm.h b/Robust/src/Runtime/STM/tm.h index 5f3a4f7b..6dcbebf0 100644 --- a/Robust/src/Runtime/STM/tm.h +++ b/Robust/src/Runtime/STM/tm.h @@ -149,6 +149,7 @@ typedef struct objlockstate { extern __thread threadrec_t *trec; extern __thread struct objlist * lockedobjs; extern objlockstate_t *objlockscope; +extern __thread int t_objnumcount; pthread_mutex_t lockedobjstore; typedef struct objtypestat { -- 2.34.1