// be on the mutable list.
if (tso->what_next == ThreadRelocated) continue;
if (tso->flags & (TSO_DIRTY|TSO_LINK_DIRTY)) {
- ASSERT(Bdescr((P_)tso)->gen_no == 0 || tso->flags & TSO_MARKED);
+ ASSERT(Bdescr((P_)tso)->gen_no == 0 || (tso->flags & TSO_MARKED));
tso->flags &= ~TSO_MARKED;
}
}
}
void
-checkMutableLists (void)
+checkMutableLists (rtsBool checkTSOs)
{
nat g, i;
checkMutableList(capabilities[i].mut_lists[g], g);
}
}
- checkGlobalTSOList(rtsTrue);
+ checkGlobalTSOList(checkTSOs);
}
/*