more reorganization
authorbdemsky <bdemsky>
Fri, 9 Oct 2009 11:00:41 +0000 (11:00 +0000)
committerbdemsky <bdemsky>
Fri, 9 Oct 2009 11:00:41 +0000 (11:00 +0000)
Robust/src/Runtime/STM/stats.c
Robust/src/Runtime/STM/tm.h

index 8c1e51e973540bf9e19ef8b10275ac889ea71f21..b08ccd75a744a91f601fab734fb33e65faa7adb7 100644 (file)
@@ -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];
index 5f3a4f7bc4d35ebc4040a69043487986619fdad5..6dcbebf08554ffadaaf57d60b3d3e5125515eab8 100644 (file)
@@ -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 {