X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fparallel%2FParTypes.h;fp=rts%2Fparallel%2FParTypes.h;h=910a6f2d998bacb6f0671ade39eecb84121a29cb;hb=0065d5ab628975892cea1ec7303f968c3338cbe1;hp=0000000000000000000000000000000000000000;hpb=28a464a75e14cece5db40f2765a29348273ff2d2;p=ghc-hetmet.git diff --git a/rts/parallel/ParTypes.h b/rts/parallel/ParTypes.h new file mode 100644 index 0000000..910a6f2 --- /dev/null +++ b/rts/parallel/ParTypes.h @@ -0,0 +1,38 @@ +/* --------------------------------------------------------------------------- + * Time-stamp: + * + * Runtime system types for GUM + * + * ------------------------------------------------------------------------- */ + +#ifndef PARTYPES_H +#define PARTYPES_H + +#ifdef PAR /* all of it */ + +// now in Parallel.h +//typedef struct hashtable HashTable; +//typedef struct hashlist HashList; + +/* Global addresses now live in Parallel.h (needed in Closures.h) */ +// gaddr + +// now in Parallel.h +/* (GA, LA) pairs +typedef struct gala { + globalAddr ga; + StgPtr la; + struct gala *next; + rtsBool preferred; +} rtsGaLa; +*/ + +#if defined(GRAN) +typedef unsigned long TIME; +typedef unsigned char Proc; +typedef unsigned char EVTTYPE; +#endif + +#endif /* PAR */ + +#endif /* ! PARTYPES_H */