projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-05-21 16:09:18 by panne]
[ghc-hetmet.git]
/
ghc
/
rts
/
Timer.c
diff --git
a/ghc/rts/Timer.c
b/ghc/rts/Timer.c
index
99a76c3
..
5be49a5
100644
(file)
--- a/
ghc/rts/Timer.c
+++ b/
ghc/rts/Timer.c
@@
-30,8
+30,10
@@
/* ticks left before next pre-emptive context switch */
static int ticks_to_ctxt_switch = 0;
/* ticks left before next pre-emptive context switch */
static int ticks_to_ctxt_switch = 0;
+#if defined(RTS_SUPPORTS_THREADS)
/* idle ticks left before we perform a GC */
static int ticks_to_gc = 0;
/* idle ticks left before we perform a GC */
static int ticks_to_gc = 0;
+#endif
/*
* Function: handle_tick()
/*
* Function: handle_tick()