[project @ 2005-04-04 13:51:26 by simonmar]
authorsimonmar <unknown>
Mon, 4 Apr 2005 13:51:26 +0000 (13:51 +0000)
committersimonmar <unknown>
Mon, 4 Apr 2005 13:51:26 +0000 (13:51 +0000)
commit1347b6d55044c7d13c3d0135a29869b797789838
treee7466b054cde946311b703132c3e08d5fff2981f
parent0935f93229e76cc232e8cb7997ac2f9d5dd210c0
[project @ 2005-04-04 13:51:26 by simonmar]
Big cleanup of the scheduler.

The main idea here was to extract as much stuff as possible from the
scheduler loop into seprate functions, so as to better expose the
control structure of the scheduler.  Now, the scheduler loop is down
to some 300+ lines; there's some more code that could be extracted,
but I think it looks pretty good now.

This work is partly due to an initial cleanup by the GRAN/PAR folks,
heavily re-worked by me.
ghc/rts/Schedule.c