projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388cd0f
)
more reorganization
author
bdemsky
<bdemsky>
Fri, 9 Oct 2009 11:00:41 +0000
(11:00 +0000)
committer
bdemsky
<bdemsky>
Fri, 9 Oct 2009 11:00:41 +0000
(11:00 +0000)
Robust/src/Runtime/STM/stats.c
patch
|
blob
|
history
Robust/src/Runtime/STM/tm.h
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/STM/stats.c
b/Robust/src/Runtime/STM/stats.c
index 8c1e51e973540bf9e19ef8b10275ac889ea71f21..b08ccd75a744a91f601fab734fb33e65faa7adb7 100644
(file)
--- 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 5f3a4f7bc4d35ebc4040a69043487986619fdad5..6dcbebf08554ffadaaf57d60b3d3e5125515eab8 100644
(file)
--- 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 {