projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
430d7e0
)
bug fix
author
bdemsky
<bdemsky>
Sun, 10 Apr 2011 06:02:29 +0000
(06:02 +0000)
committer
bdemsky
<bdemsky>
Sun, 10 Apr 2011 06:02:29 +0000
(06:02 +0000)
Robust/src/Runtime/garbage.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/garbage.c
b/Robust/src/Runtime/garbage.c
index dcef65b701467b10695e71b2f6cf189d079692e1..1df73122832316939e78f490c8b3460297e6e69c 100644
(file)
--- a/
Robust/src/Runtime/garbage.c
+++ b/
Robust/src/Runtime/garbage.c
@@
-416,6
+416,11
@@
void collect(struct garbagelist * stackptr) {
// update forward list & memory queue for the current SESE
updateForwardList(&((SESEcommon*)listptr->seseCommon)->forwardList,FALSE);
updateMemoryQueue((SESEcommon*)(listptr->seseCommon));
+#endif
+#ifdef THREADS
+ void *orig=pthread_getspecific(threadlocks);
+ ENQUEUE(orig, orig);
+ pthread_setspecific(threadlocks, orig);
#endif
listptr=listptr->next;
}