[project @ 2000-08-25 13:12:07 by simonmar]
authorsimonmar <unknown>
Fri, 25 Aug 2000 13:12:07 +0000 (13:12 +0000)
committersimonmar <unknown>
Fri, 25 Aug 2000 13:12:07 +0000 (13:12 +0000)
commit5a4ec9379ff8e96ab7a75ea1854bf2005db01050
tree90ade8eb6d3a81de110a1aa4c04af6b3808de8bf
parent944c6afd73b32287f9981539127ba7060bd57e54
[project @ 2000-08-25 13:12:07 by simonmar]
Change the way threadDelay# is implemented.

We now use a list of sleeping threads sorted in increasing order by
the time at which they will wake up.  This avoids us having to
traverse the entire queue on each context switch.
ghc/includes/TSO.h
ghc/rts/Itimer.c
ghc/rts/Itimer.h
ghc/rts/PrimOps.hc
ghc/rts/Schedule.c
ghc/rts/Schedule.h
ghc/rts/Select.c
ghc/rts/Signals.c