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:
c23016c
)
threadStackUnderflow: fix recently introduced bug (conc068(threaded1) failure)
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 7 Dec 2009 17:01:27 +0000
(17:01 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 7 Dec 2009 17:01:27 +0000
(17:01 +0000)
bug introduced by "threadStackUnderflow: put the new TSO on the mut
list if necessary"
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
abd7bc4
..
7b57c0d
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2342,7
+2342,7
@@
threadStackUnderflow (Capability *cap, Task *task, StgTSO *tso)
// list. The new TSO is not yet on the mutable list, so we better
// put it there.
new_tso->dirty = 0;
- new_tso->flags &= !TSO_LINK_DIRTY;
+ new_tso->flags &= ~TSO_LINK_DIRTY;
dirty_TSO(cap, new_tso);
debugTrace(DEBUG_sched, "thread %ld: reducing TSO size from %lu words to %lu",