projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701a666
)
#ifdef this out if not threads
author
bdemsky
<bdemsky>
Mon, 4 Apr 2011 01:41:40 +0000
(
01:41
+0000)
committer
bdemsky
<bdemsky>
Mon, 4 Apr 2011 01:41:40 +0000
(
01:41
+0000)
Robust/src/Runtime/garbage.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/garbage.c
b/Robust/src/Runtime/garbage.c
index 8212edb1435cc0048caec213276dc1e87ab2ea2f..7d8c7fde395a39af153fb61144c65f54ba4fad76 100644
(file)
--- a/
Robust/src/Runtime/garbage.c
+++ b/
Robust/src/Runtime/garbage.c
@@
-879,12
+879,14
@@
void restartaftergc() {
pthread_mutex_lock(&gclistlock);
listcount--;
pthread_mutex_unlock(&gclistlock);
+#ifdef THREADS
#ifdef MAC
struct listitem *litem=pthread_getspecific(litemkey);
pthread_setspecific(threadlocks,litem->locklist);
#else
pthread_setspecific(threadlocks,litem.locklist);
#endif
+#endif
}
#endif