projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c061c
)
changes to compile
author
bdemsky
<bdemsky>
Wed, 13 May 2009 01:27:33 +0000
(
01:27
+0000)
committer
bdemsky
<bdemsky>
Wed, 13 May 2009 01:27:33 +0000
(
01:27
+0000)
Robust/src/Runtime/STM/stm.c
patch
|
blob
|
history
Robust/src/Runtime/thread.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/STM/stm.c
b/Robust/src/Runtime/STM/stm.c
index 6267983f94a742f9bd1646ad5c17e341f859a736..a0d73370c3958134cbe34bf00b94b96e18dc9e79 100644
(file)
--- a/
Robust/src/Runtime/STM/stm.c
+++ b/
Robust/src/Runtime/STM/stm.c
@@
-838,12
+838,12
@@
void needLock(objheader_t *header, void *gl) {
return;
} else {
#ifdef PRECISE_GC
- st
ruct listitem *tmp=st
opforgc((struct garbagelist *)gl);
+ stopforgc((struct garbagelist *)gl);
#endif
//grab lock and wait our turn
pthread_mutex_lock(header->objlock);
#ifdef PRECISE_GC
-
restartaftergc(tmp
);
+
restartaftergc(
);
#endif
/* we have lock, so we are not blocked anymore */
trec->blocked = 0;
diff --git
a/Robust/src/Runtime/thread.c
b/Robust/src/Runtime/thread.c
index 83a08a9b34b5da493bd277017d9b420e83e2d7ce..4040c5335fed8e9fc7d6947d189666a386231d75 100644
(file)
--- a/
Robust/src/Runtime/thread.c
+++ b/
Robust/src/Runtime/thread.c
@@
-39,6
+39,7
@@
extern __thread struct listitem litem;
#else
pthread_key_t litemkey;
#endif
+extern struct listitem * list;
#endif
void threadexit() {