From cde550af7b4044c5a58b0a5302789f0a4e3ad3bc Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 20 Jun 2000 15:12:14 +0000 Subject: [PATCH] [project @ 2000-06-20 15:12:14 by simonmar] context switch on a timer interrupt. --- ghc/rts/Itimer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Itimer.c b/ghc/rts/Itimer.c index 60e30e7..26a02be 100644 --- a/ghc/rts/Itimer.c +++ b/ghc/rts/Itimer.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Itimer.c,v 1.13 2000/04/03 15:54:49 simonmar Exp $ + * $Id: Itimer.c,v 1.14 2000/06/20 15:12:14 simonmar Exp $ * * (c) The GHC Team, 1995-1999 * @@ -78,6 +78,8 @@ handle_tick(int unused STG_UNUSED) /* For threadDelay etc., see Select.c */ ticks_since_select++; + + context_switch = 1; } -- 1.7.10.4