X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FConstants.h;h=d02ae4d699dbf404e522451830bf9975cf0061dc;hb=9d909b3bb9a0740f272dadf4a35b642e1404fe3c;hp=b4d66cbaf3c0399ce96fecc4b045ea120b188769;hpb=e7c3f957fd36fd9f6369183b7a31e2a4a4c21b43;p=ghc-hetmet.git diff --git a/ghc/includes/Constants.h b/ghc/includes/Constants.h index b4d66cb..d02ae4d 100644 --- a/ghc/includes/Constants.h +++ b/ghc/includes/Constants.h @@ -1,5 +1,4 @@ /* ---------------------------------------------------------------------------- - * $Id: Constants.h,v 1.28 2005/02/10 13:02:03 simonmar Exp $ * * (c) The GHC Team, 1998-2002 * @@ -196,7 +195,7 @@ #define LDV_LAST_MASK 0x00007FFF #define LDV_STATE_CREATE 0x00000000 #define LDV_STATE_USE 0x40000000 -#endif // SIZEOF_VOID_P +#endif /* SIZEOF_VOID_P */ /* ----------------------------------------------------------------------------- TSO related constants @@ -232,7 +231,7 @@ #define BlockedOnGA 9 /* same as above but without sending a Fetch message */ #define BlockedOnGA_NoSend 10 -/* Only relevant for RTS_SUPPORTS_THREADS: */ +/* Only relevant for THREADED_RTS: */ #define BlockedOnCCall 11 #define BlockedOnCCall_NoUnblockExc 12 /* same as above but don't unblock async exceptions in resumeThread() */ @@ -267,4 +266,10 @@ #error RESERVED_STACK_WORDS may be wrong! #endif +/* ----------------------------------------------------------------------------- + How often our context-switch timer ticks + -------------------------------------------------------------------------- */ + +#define TICK_FREQUENCY 50 /* ticks per second */ + #endif /* CONSTANTS_H */