projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c4df6
)
[project @ 2005-04-19 14:24:55 by simonmar]
author
simonmar
<unknown>
Tue, 19 Apr 2005 14:24:55 +0000
(14:24 +0000)
committer
simonmar
<unknown>
Tue, 19 Apr 2005 14:24:55 +0000
(14:24 +0000)
main_thread double-linkage bug
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
a5f133e
..
079238d
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-1807,7
+1807,7
@@
scheduleHandleThreadFinished( StgMainThread *mainThread
mainThread->prev->link = mainThread->link;
}
if (mainThread->link != NULL) {
- mainThread->link->prev = NULL;
+ mainThread->link->prev = mainThread->prev;
}
releaseCapability(cap);
return rtsTrue; // tells schedule() to return