fix possible ^C problems
authorSimon Marlow <simonmar@microsoft.com>
Thu, 8 Jun 2006 14:44:57 +0000 (14:44 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 8 Jun 2006 14:44:57 +0000 (14:44 +0000)
commit7434fb5be86c7cc59c520dc07dc96b27b4fb1406
tree2d1a6b2467cab24f780b356832d0dcb1307caf5a
parent5a2769f0273dd389977e8283375e7920d183bdd4
fix possible ^C problems
Calling prodAllCapabilities() from interruptStgRts() was wrong, for
the same reasons that we stopped doing it in handle_tick().  We now
use the same mechanism (send a byte down the pipe to the IO manager
thread), but abstract it in a wakeUpRts() function in the scheduler.
rts/Schedule.c
rts/Schedule.h
rts/Timer.c