X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2Fhooks%2FInitEachPE.c;h=fa0e7a729ce6a539732cb1da3dee9238186587d5;hb=354050a30bc30c02bd94a5e035d8bd075f0cab89;hp=9b3af690c03986e76f5e61812b617b3c8dc42cef;hpb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;p=ghc-hetmet.git diff --git a/ghc/rts/hooks/InitEachPE.c b/ghc/rts/hooks/InitEachPE.c index 9b3af69..fa0e7a7 100644 --- a/ghc/rts/hooks/InitEachPE.c +++ b/ghc/rts/hooks/InitEachPE.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: InitEachPE.c,v 1.2 1998/12/02 13:29:12 simonm Exp $ + * $Id: InitEachPE.c,v 1.3 2001/03/22 03:51:11 hwloidl Exp $ * * User-overridable RTS hooks. * @@ -9,17 +9,16 @@ #ifdef PAR void -initEachPEHook (void) -{ /* in a GUM setup this is called on each - PE immediately before SynchroniseSystem - it can be used to read in static data +InitEachPEHook (void) +{ /* In a GUM setup this is called on each + PE immediately before SynchroniseSystem. + It can be used to read in static data to each PE which has to be available to - each PE - - This version is the one specialised - for Lolita, calling the LoadAllData stuff. - The default version probably should do - nothing -- HWL + each PE. See GPH-Maple as an example how to + use this in combination with foreign language + code: + http://www.risc.uni-linz.ac.at/software/ghc-maple/ + -- HWL */ } #endif