2 Time-stamp: <Mon Mar 05 2001 22:39:27 Stardate: [-30]6284.72 hwloidl>
7 /* -------------------------------------------------------------------------
8 Generally useful typedefs
9 ------------------------------------------------------------------------- */
14 #if SIZEOF_VOID_P == 8
15 typedef unsigned long nat; /* at least 32 bits (like int) */
17 typedef unsigned int nat; /* at least 32 bits (like int) */
19 typedef unsigned long lnat; /* at least 32 bits */
20 typedef unsigned long long ullong; /* at least 32 bits */
22 /* ullong (64|128-bit) type: only include if needed (not ANSI) */
35 Types specific to the parallel runtime system.
39 /* types only needed in the parallel system */
40 typedef struct hashtable ParHashTable;
41 typedef struct hashlist ParHashList;
43 // typedef double REAL_TIME;
45 // typedef GlobalTaskId Proc;
46 typedef int GlobalTaskId;
47 typedef ullong rtsTime;
48 typedef GlobalTaskId PEs;
49 typedef unsigned int rtsWeight;
50 typedef int rtsPacket;
53 /* Global addresses i.e. unique ids in a parallel setup; needed in Closures.h*/
75 // GlobalTaskId is dummy in GranSim;
76 // we define it to have cleaner code in the RTS
77 typedef int GlobalTaskId;
83 #endif /* RTS_TYPES_H */