X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsAPI.c;h=ea3e4a5fc0c10a1e65e7d2b24bf22e5cab41a835;hb=2947e534cfb45e3eff9f06e8f60d19117da3ac63;hp=8e03d7dd3c2a856a3b74508d78f9daec4a51590c;hpb=efa881239effd5ea4cb403c2c03ebb09fbdfd363;p=ghc-hetmet.git diff --git a/ghc/rts/RtsAPI.c b/ghc/rts/RtsAPI.c index 8e03d7d..ea3e4a5 100644 --- a/ghc/rts/RtsAPI.c +++ b/ghc/rts/RtsAPI.c @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: RtsAPI.c,v 1.24 2001/01/11 17:25:56 simonmar Exp $ + * $Id: RtsAPI.c,v 1.26 2001/03/22 03:51:10 hwloidl Exp $ * * (c) The GHC Team, 1998-2001 * @@ -356,21 +356,6 @@ rts_evalLazyIO (HaskellObj p, unsigned int stack_size, /*out*/HaskellObj *ret) return waitThread(tso, ret); } -#if defined(PAR) || defined(SMP) -/* - Needed in the parallel world for non-Main PEs, which do not get a piece - of work to start with --- they have to humbly ask for it -*/ - -SchedulerStatus -rts_evalNothing(unsigned int stack_size) -{ - /* ToDo: propagate real SchedulerStatus back to caller */ - scheduleThread(END_TSO_QUEUE); - return Success; -} -#endif - /* Convenience function for decoding the returned status. */ void