projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5beb5f
)
[project @ 2000-06-20 15:12:14 by simonmar]
author
simonmar
<unknown>
Tue, 20 Jun 2000 15:12:14 +0000
(15:12 +0000)
committer
simonmar
<unknown>
Tue, 20 Jun 2000 15:12:14 +0000
(15:12 +0000)
context switch on a timer interrupt.
ghc/rts/Itimer.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Itimer.c
b/ghc/rts/Itimer.c
index
60e30e7
..
26a02be
100644
(file)
--- 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;
}