From: sewardj Date: Fri, 25 Feb 2000 17:35:11 +0000 (+0000) Subject: [project @ 2000-02-25 17:35:11 by sewardj] X-Git-Tag: Approximately_9120_patches~5094 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e151ce30350f2775377a5566fa4583726b46cdbf;p=ghc-hetmet.git [project @ 2000-02-25 17:35:11 by sewardj] Use createIOThread and not createGenThread, even for the interpreter. --- diff --git a/ghc/rts/Weak.c b/ghc/rts/Weak.c index 2bd714c..ea52d90 100644 --- a/ghc/rts/Weak.c +++ b/ghc/rts/Weak.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Weak.c,v 1.12 1999/12/10 15:50:10 simonmar Exp $ + * $Id: Weak.c,v 1.13 2000/02/25 17:35:11 sewardj Exp $ * * (c) The GHC Team, 1998-1999 * @@ -63,11 +63,7 @@ scheduleFinalizers(StgWeak *list) for (w = list; w; w = w->link) { IF_DEBUG(weak,fprintf(stderr,"Finalising weak pointer at %p -> %p\n", w, w->key)); if (w->finalizer != &NO_FINALIZER_closure) { -#ifdef INTERPRETER - t = createGenThread(RtsFlags.GcFlags.initialStkSize, w->finalizer); -#else t = createIOThread(RtsFlags.GcFlags.initialStkSize, w->finalizer); -#endif scheduleThread(t); } w->header.info = &DEAD_WEAK_info;