Flame, was: bad: scheduling while atomic