From: sof Date: Thu, 7 Feb 2002 06:33:20 +0000 (+0000) Subject: [project @ 2002-02-07 06:33:20 by sof] X-Git-Tag: Approximately_9120_patches~131 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c2d67cab45c9699ffeeb886da04f3d22b0d2c803;p=ghc-hetmet.git [project @ 2002-02-07 06:33:20 by sof] Little bit more doc on suspended_ccalling_threads --- diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index 92d2cf6..71daf6a 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.118 2002/02/06 01:29:27 sof Exp $ + * $Id: Schedule.c,v 1.119 2002/02/07 06:33:20 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -185,7 +185,9 @@ StgTSO *sleeping_queue; /* perhaps replace with a hash table? */ */ StgTSO *all_threads; -/* Threads suspended in _ccall_GC. +/* When a thread performs a safe C call (_ccall_GC, using old + * terminology), it gets put on the suspended_ccalling_threads + * list. Used by the garbage collector. */ static StgTSO *suspended_ccalling_threads;