Export the value of the signal used by scheduler (#4504)
[ghc-hetmet.git] / includes / rts / Timer.h
index e3a5c2d..9563f6a 100644 (file)
@@ -1,9 +1,14 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team, 1995-2006
+ * (c) The GHC Team, 1995-2009
  *
  * Interface to the RTS timer signal (uses OS-dependent Ticker.h underneath)
  *
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
  * ---------------------------------------------------------------------------*/
 
 #ifndef RTS_TIMER_H
@@ -11,5 +16,6 @@
 
 void startTimer (void);
 void stopTimer  (void);
+int rtsTimerSignal (void);
 
 #endif /* RTS_TIMER_H */