From: simonmar Date: Tue, 20 Jun 2000 15:12:14 +0000 (+0000) Subject: [project @ 2000-06-20 15:12:14 by simonmar] X-Git-Tag: Approximately_9120_patches~4166 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cde550af7b4044c5a58b0a5302789f0a4e3ad3bc;p=ghc-hetmet.git [project @ 2000-06-20 15:12:14 by simonmar] context switch on a timer interrupt. --- 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; }