diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-07 17:01:27 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-07 17:01:27 +0000 |
commit | 34bb8868a99962ede85ab7fa67c43fb922d78fc6 (patch) | |
tree | 4b4c81d2de76a8d371abd81d0600af449ae1fb33 /rts/Schedule.c | |
parent | c23016cfcd71085666aff17b6f31347144f12f2e (diff) | |
download | haskell-34bb8868a99962ede85ab7fa67c43fb922d78fc6.tar.gz |
threadStackUnderflow: fix recently introduced bug (conc068(threaded1) failure)
bug introduced by "threadStackUnderflow: put the new TSO on the mut
list if necessary"
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r-- | rts/Schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index abd7bc4d56..7b57c0db32 100644 --- 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", |